/* ============================================
   RAJ PORTFOLIO — CYBERPUNK DESIGN SYSTEM
   HARSH / NEXAR PORTFOLIO — CYBERPUNK DESIGN SYSTEM
   ============================================ */

/* ====== CSS CUSTOM PROPERTIES ====== */
:root {
    /* Colors */
    --black: #000000;
    --dark: #0A0A0A;
    --dark-2: #111111;
    --dark-3: #1a1a1a;
    --white: #ffffff;
    --gray: #888888;
    --gray-light: #aaaaaa;
    --neon-green: #AAFF00;
    --neon-green-dim: #88cc00;
    --purple: #5B00D9;
    --purple-light: #7B2FE0;
    --coral: #FF6B4A;
    --cyan: #00F0FF;

    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-mono: 'Space Mono', monospace;

    /* Spacing */
    --nav-height: 70px;
    --section-padding: 120px;
    --grid-gap: 16px;

    /* Chamfer */
    --chamfer: 20px;
    --chamfer-sm: 10px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ====== RESET & BASE ====== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ====== HIDE DEFAULT BORING SCROLLBAR ====== */
html, body {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE / Edge */
}
::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    display: none;
    background: transparent;
}
* {
    scrollbar-width: none;
}

html {
    scroll-behavior: auto;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 769px) {
    /* Hide system cursor when custom cursor active, but ensure preloader has clear visibility */
    body.cursor-active:not(.preloader-active) {
        cursor: none;
    }
    body.cursor-active:not(.preloader-active) a,
    body.cursor-active:not(.preloader-active) button {
        cursor: none;
    }
}

/* Guarantee visible cursor and pointer on preloader and button */
#preloader {
    cursor: default;
}

.preloader-enter-trigger,
.enter-keycap-3d,
.keycap-btn {
    cursor: pointer !important;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

::selection {
    background: var(--neon-green);
    color: var(--black);
}

/* ====== 4K HARXH CYBER-LAPTOP CINEMA PRELOADER & DOLLY ZOOM ====== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(ellipse 130% 100% at 50% 42%, #220509 0%, #150306 40%, #0d0103 72%, #060001 100%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Web Guru Awards GOTD Badge - Base Styles (Desktop: Absolute on Hero Left, scrolls with First Page) */
.web-guru-award-badge {
    position: absolute;
    top: 80px;
    left: 0px;
    width: 75px;
    height: 117px;
    background: url(https://imgcdn.webguruawards.com/public/awards/GOTD/img_guru_of_the_day_left.png) no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease 0.2s, transform 0.25s ease;
}

#preloader:not(.hidden) ~ .web-guru-award-badge,
#preloader:not(.hidden) ~ * .web-guru-award-badge {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#preloader.hidden ~ .web-guru-award-badge,
#preloader.hidden ~ * .web-guru-award-badge,
.web-guru-award-badge.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.web-guru-award-badge:hover {
    transform: translateX(4px);
}

.preloader-ambient-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: 
        radial-gradient(circle at 50% 42%, rgba(220, 25, 45, 0.22) 0%, rgba(130, 10, 25, 0.12) 48%, transparent 75%),
        radial-gradient(circle at 65% 45%, rgba(0, 255, 102, 0.04) 0%, transparent 60%);
    z-index: 2;
}

.preloader-zoom-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: #ffffff;
    opacity: 0;
    z-index: 50;
    transition: opacity 0.15s ease-out;
}

.preloader-zoom-flash.active {
    opacity: 0.85;
}

/* Cinema Stage with Transform Origin Centered in Screen */
.laptop-cinema-stage {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: 50% 43.5%;
    will-change: transform, filter, opacity;
    z-index: 5;
    overflow: hidden;
}

/* Cinematic Glide Entrance: Starting slightly lowered in elevation & dark */
.laptop-cinema-stage.is-entering {
    transform: translateY(20px) scale(1.38);
    opacity: 0.2;
    filter: brightness(0.4) contrast(1.1);
}

.laptop-cinema-stage.is-docked {
    transform: translateY(-2.2vh) scale(1.48);
    opacity: 1;
    filter: brightness(1) contrast(1);
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease-out, filter 0.65s ease-out;
}

/* Explosive Hollywood Dolly Zoom Fly-Through */
.laptop-cinema-stage.is-zooming {
    transform: scale(4.4);
    filter: contrast(1.22) brightness(1.15);
    transition: transform 0.65s cubic-bezier(0.72, 0, 0.18, 1), filter 0.65s ease;
}

/* Container Full-Bleed Edge to Edge (2560 / 1280 Widescreen Master) */
.laptop-frame-wrapper {
    position: relative;
    width: max(100vw, calc(100vh * 2560 / 1280));
    height: max(100vh, calc(100vw * 1280 / 2560));
    aspect-ratio: 2560 / 1280;
    margin: auto;
    display: block;
    user-select: none;
    flex-shrink: 0;
    -webkit-mask-image: radial-gradient(ellipse 96% 90% at 50% 50%, #000 70%, transparent 100%);
    mask-image: radial-gradient(ellipse 96% 90% at 50% 50%, #000 70%, transparent 100%);
}

.laptop-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    user-select: none;
}

/* Tactile Keyboard RGB Ignition Surge Flare */
.keyboard-rgb-surge {
    position: absolute;
    left: 42%;
    top: 60%;
    width: 16%;
    height: 8%;
    background: radial-gradient(ellipse at center, rgba(255, 42, 74, 0.6) 0%, rgba(255, 42, 74, 0.2) 45%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    z-index: 6;
    mix-blend-mode: screen;
    filter: blur(10px);
}

.keyboard-rgb-surge.ignited {
    animation: keyRgbPulse 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes keyRgbPulse {
    0% { opacity: 0; transform: scale(0.85); }
    30% { opacity: 1; transform: scale(1.12); }
    100% { opacity: 0; transform: scale(1); }
}

/* Sub-Pixel Screen Viewport: 4K HACKER TERMINAL MONOSPACE ENGINE */
.laptop-screen-viewport {
    position: absolute;
    left: 38.60%;
    top: 30.48%;
    width: 22.80%;
    height: 25.64%;
    max-height: 25.64%;
    background: #020609;
    border-radius: 1px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.95);
    font-family: 'Space Mono', 'Consolas', 'Courier New', monospace;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
    font-feature-settings: "tnum" 1, "zero" 1;
    z-index: 8;
    box-sizing: border-box;
    border: none;
    outline: none;
    user-select: none;
    transition: opacity 0.25s ease-out;
}

/* Screen Sleep & Wakeup Modes */
.laptop-screen-viewport.is-sleeping {
    opacity: 0;
    pointer-events: none;
}

.laptop-screen-viewport.is-waking {
    opacity: 1;
    animation: screenWakePhosphor 0.5s ease-out forwards;
}

@keyframes screenWakePhosphor {
    0% { filter: brightness(2.6) contrast(1.4); }
    40% { filter: brightness(1.5) contrast(1.2); }
    100% { filter: brightness(1) contrast(1); }
}

/* CRT Horizontal Phosphor Expansion Line */
.screen-power-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffffff;
    box-shadow: 0 0 10px #00ff66, 0 0 20px #00e5ff, 0 0 35px #ffffff;
    z-index: 35;
    opacity: 0;
    transform: scaleX(0);
    pointer-events: none;
}

.screen-power-line.active {
    animation: crtLineIgnite 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes crtLineIgnite {
    0% { opacity: 1; transform: scaleX(0) scaleY(1); }
    50% { opacity: 1; transform: scaleX(1) scaleY(1.8); }
    80% { opacity: 0.85; transform: scaleX(1) scaleY(22); }
    100% { opacity: 0; transform: scaleX(1) scaleY(70); }
}

/* Screen Wake Flash Glow Sweep */
.screen-wake-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 255, 102, 0.4) 0%, rgba(0, 229, 255, 0.18) 45%, transparent 75%);
    pointer-events: none;
    z-index: 25;
    opacity: 0;
}

.screen-wake-flash.active {
    animation: wakeFlashPulse 0.55s ease-out forwards;
}

@keyframes wakeFlashPulse {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

/* Vintage Film Black & White CRT Flicker on Screen Wake */
.screen-crt-flicker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: #000000;
    opacity: 0;
    z-index: 38;
}

.screen-crt-flicker.active {
    animation: retroCrtTvBoot 0.26s steps(4) forwards;
}

@keyframes retroCrtTvBoot {
    0% { opacity: 1; background: #000000; }
    22% { opacity: 0.95; background: #ffffff; }
    45% { opacity: 0.25; background: #05080c; }
    70% { opacity: 0.9; background: #ffffff; }
    88% { opacity: 0.2; background: #080d14; }
    100% { opacity: 0; background: transparent; }
}

/* CRT Phosphor Scanline Overlay */
.screen-crt-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.3) 50%);
    background-size: 100% 3px;
    opacity: 0.18;
    z-index: 4;
}

/* ====== STAGE 1: CINEMATIC BIOS OEM BRAND BOOT SPLASH (LIKE ASUS ROG / ALIENWARE) ====== */
.bios-boot-stage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #03060a;
    z-index: 15;
    user-select: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bios-boot-stage.fade-out {
    opacity: 0;
    transform: scale(1.08);
    pointer-events: none;
}

.bios-brand-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6px 12px;
    width: 100%;
    animation: biosIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes biosIn {
    0% { opacity: 0; transform: scale(0.92); }
    100% { opacity: 1; transform: scale(1); }
}

/* Glowing Brand Crest Emblem */
.bios-emblem-wrap {
    position: relative;
    width: clamp(28px, 2.4vw, 42px);
    height: clamp(28px, 2.4vw, 42px);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bios-brand-emblem {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 30, 30, 0.95)) drop-shadow(0 0 16px rgba(150, 243, 21, 0.8));
    animation: emblemPulse 2.4s ease-in-out infinite alternate;
}

@keyframes emblemPulse {
    0% { transform: scale(0.95); filter: drop-shadow(0 0 8px #ff1e1e); }
    100% { transform: scale(1.06); filter: drop-shadow(0 0 14px #96f315) drop-shadow(0 0 22px #00f0ff); }
}

.bios-emblem-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(150, 243, 21, 0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Luxury Brand Typography */
.bios-brand-title {
    font-family: 'Syncopate', 'Orbitron', var(--font-heading), sans-serif;
    font-size: clamp(8.8px, 0.82vw, 13.8px);
    font-weight: 700;
    letter-spacing: 0.13em;
    color: #ffffff;
    line-height: 1.25;
    text-transform: uppercase;
    text-align: center;
    background: linear-gradient(110deg, #ffffff 0%, #d8f5ff 25%, #96f315 50%, #00F0FF 75%, #ffffff 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: biosShimmer 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
    margin: 4px 0 6px 0;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.45)) drop-shadow(0 0 20px rgba(150, 243, 21, 0.35));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}

.bios-title-top,
.bios-title-bot {
    display: block;
    white-space: nowrap;
}

@keyframes biosShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.bios-brand-sub {
    font-family: 'Space Mono', monospace;
    font-size: clamp(5.8px, 0.48vw, 7.8px);
    color: #99bbdd;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 9px;
}

/* High-Tech Boot Loading Bar */
.bios-loader-wrap {
    width: clamp(100px, 9vw, 150px);
    height: 3px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 1.5px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.85);
}

.bios-loader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00F0FF 0%, #96f315 100%);
    box-shadow: 0 0 10px #00F0FF, 0 0 18px #96f315;
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}


/* ====== STAGE 2: AUTHENTIC KALI LINUX TERMINAL (EMBEDDED SCREEN) ====== */
.kali-terminal-window {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #05090e;
    overflow: hidden;
    position: relative;
    z-index: 10;
    font-family: 'Space Mono', 'Consolas', 'Courier New', monospace;
    font-weight: 700;
    box-sizing: border-box;
    user-select: none;
    animation: kaliTerminalIn 0.25s ease-out forwards;
}

@keyframes kaliTerminalIn {
    0% { opacity: 0; transform: translateY(4px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Kali Titlebar */
.kali-titlebar {
    height: 18px;
    background: #0d131b;
    border-bottom: 1px solid rgba(0, 240, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    flex-shrink: 0;
}

.kali-window-controls {
    display: flex;
    align-items: center;
    gap: 4.5px;
}

.kali-dot {
    width: 5.5px;
    height: 5.5px;
    border-radius: 50%;
    display: inline-block;
}
.kali-dot.dot-close { background: #ff5555; box-shadow: 0 0 4px #ff5555; }
.kali-dot.dot-min { background: #ffb86c; box-shadow: 0 0 4px #ffb86c; }
.kali-dot.dot-max { background: #50fa7b; box-shadow: 0 0 4px #50fa7b; }

.kali-title-text {
    display: flex;
    align-items: center;
    gap: 5.5px;
    font-size: clamp(7.4px, 0.62vw, 9.8px);
    color: #ccddff;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.kali-title-logo {
    width: clamp(10px, 0.85vw, 13px);
    height: clamp(10px, 0.85vw, 13px);
    object-fit: contain;
    filter: drop-shadow(0 0 4px #00F0FF);
}

.kali-title-meta {
    display: flex;
    align-items: center;
    gap: 5px;
}

.kali-led {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00ff66;
    box-shadow: 0 0 6px #00ff66;
    animation: ledPulse 1.2s infinite ease-in-out;
}

.kali-node-id {
    font-size: clamp(6.2px, 0.5vw, 8px);
    color: #5588aa;
    font-weight: 700;
}

/* Kali Terminal CLI Body */
.kali-terminal-body {
    flex: 1;
    padding: 7px 10px;
    display: flex;
    flex-direction: column;
    gap: 3.5px;
    overflow: hidden;
    color: #e0f0ff;
    line-height: 1.3;
    font-size: clamp(7.4px, 0.62vw, 9.6px);
}

/* Kali Prompt Line (100% Authentic Kali Zsh Format & Colors) */
.kali-cli-section {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 3px;
}

.kali-prompt-line {
    font-size: clamp(7.4px, 0.62vw, 9.6px);
    line-height: 1.28;
    white-space: nowrap;
}

.k-bracket {
    color: #1d76db;
    font-weight: 700;
}

.k-user {
    color: #2be4f3;
    font-weight: 700;
}

.k-symbol-at {
    color: #1d76db;
    font-weight: 700;
}

.k-host {
    color: #1d76db;
    font-weight: 700;
}

.k-path {
    color: #ffffff;
    font-weight: 700;
}

.kali-command-input-line {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: clamp(7.8px, 0.66vw, 10.2px);
    line-height: 1.28;
}

.k-dollar {
    color: #1d76db;
    font-weight: 700;
}

.kali-typed-text {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.03em;
    min-height: 10px;
}

.kali-cursor {
    color: #00ff66;
    font-size: clamp(9px, 0.75vw, 11.5px);
    animation: kaliCursorBlink 0.65s infinite;
    display: inline-block;
    line-height: 1;
}

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

/* Clean Telemetry Output */
.kali-telemetry-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 2px;
    animation: kaliFadeIn 0.22s ease-out forwards;
}

@keyframes kaliFadeIn {
    0% { opacity: 0; transform: translateY(2px); }
    100% { opacity: 1; transform: translateY(0); }
}

.kali-data-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    font-size: clamp(7px, 0.58vw, 9.2px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.28;
}

.k-label {
    color: #55cc88;
    font-weight: 700;
    min-width: 76px;
}

.k-val {
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
}
.k-val.green { color: #00ff66; text-shadow: 0 0 3px rgba(0, 255, 102, 0.6); }
.k-val.gold { color: #ffcc00; text-shadow: 0 0 3px rgba(255, 204, 0, 0.6); }
.k-val.cyan { color: #00F0FF; text-shadow: 0 0 3px rgba(0, 240, 255, 0.6); }
.k-val.green-blink {
    color: #00ff66;
    text-shadow: 0 0 5px #00ff66;
    animation: accessPulse 0.8s infinite alternate;
}

@keyframes accessPulse {
    0% { opacity: 0.8; }
    100% { opacity: 1; text-shadow: 0 0 8px #00ff66; }
}

.kali-divider {
    color: rgba(0, 240, 255, 0.35);
    font-size: clamp(5.8px, 0.48vw, 7.5px);
    letter-spacing: 0.02em;
    overflow: hidden;
    white-space: nowrap;
    line-height: 1;
    margin: 1.5px 0;
}

.kali-status-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: clamp(7.4px, 0.62vw, 9.6px);
    line-height: 1.28;
    padding-top: 1px;
}

/* (Preloader responsive overrides placed below keycap styles to ensure proper cascade precedence) */

/* ========================================================
   PROFESSIONAL 3D MECHANICAL ENTER KEYCAP
   Awwwards-Grade Luxury Industrial Keyboard Design
   Deep Bloodline Crimson Theme + Tactile Switch Depress Physics
   ======================================================== */

.enter-key-stage {
    position: fixed;
    bottom: clamp(26px, 5.5vh, 52px);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    perspective: 700px;
    -webkit-perspective: 700px;
    user-select: none;
    transition: 
        opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.3s ease;
}

.enter-key-stage.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    animation: stageAmbientBreath 4.5s infinite ease-in-out;
}

.enter-key-stage.fade-out {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(-12px) scale(0.94);
    filter: blur(5px);
    transition: opacity 0.3s ease-out, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease-out;
}

@keyframes stageAmbientBreath {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 20px rgba(220, 20, 45, 0.25));
    }
    50% {
        transform: translateX(-50%) translateY(-2px);
        filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 32px rgba(255, 25, 55, 0.4));
    }
}

/* Recessed Keyboard Switch Well (Chassis Socket) */
.enter-switch-socket {
    position: relative;
    padding: 6px;
    border-radius: 12px;
    background: 
        linear-gradient(180deg, #0d0204 0%, #150307 100%) padding-box,
        linear-gradient(135deg, rgba(255, 30, 60, 0.4) 0%, rgba(180, 10, 30, 0.5) 50%, rgba(60, 0, 10, 0.8) 100%) border-box;
    border: 1px solid transparent;
    box-shadow: 
        inset 0 3px 12px rgba(0, 0, 0, 0.95),
        inset 0 0 18px rgba(180, 10, 30, 0.18),
        0 20px 40px -6px rgba(0, 0, 0, 0.9),
        0 0 25px rgba(220, 20, 45, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Atmospheric Bloodline Underglow from Switch Bay */
.switch-ambient-glow {
    position: absolute;
    inset: 3px;
    border-radius: 9px;
    background: radial-gradient(ellipse at 50% 60%, rgba(255, 20, 50, 0.45) 0%, rgba(180, 10, 30, 0.2) 50%, transparent 75%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 1;
    animation: switchGlowPulse 3s infinite ease-in-out;
}

@keyframes switchGlowPulse {
    0%, 100% { opacity: 0.6; transform: scale(0.97); }
    50% { opacity: 0.95; transform: scale(1.03); }
}

/* ====== 3D MECHANICAL ENTER KEYCAP BUTTON ====== */
.keycap-btn {
    position: relative;
    width: clamp(235px, 20vw, 290px);
    height: 54px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer !important;
    user-select: none;
    z-index: 3;
    padding: 0;
    margin: 0;
    transform-style: preserve-3d;
    transform: translateY(0);
    transition: 
        transform 0.12s cubic-bezier(0.2, 0.9, 0.3, 1.2),
        filter 0.2s ease;
}

/* Spring Lift on Hover */
.keycap-btn:hover {
    transform: translateY(-2px);
}

.keycap-btn:hover ~ .switch-ambient-glow,
.enter-switch-socket:hover .switch-ambient-glow {
    opacity: 1;
    filter: blur(11px);
    transform: scale(1.06);
}

/* PHYSICAL PRESS ANIMATION: Sinks downward into switch socket */
.keycap-btn:active,
.keycap-btn.is-pressed {
    transform: translateY(4px) !important;
    transition-duration: 0.05s !important;
}

/* Keycap Top Dish Surface */
.keycap-surface {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: 
        linear-gradient(180deg, #240409 0%, #150205 60%, #0d0103 100%) padding-box,
        linear-gradient(180deg, rgba(255, 75, 100, 0.75) 0%, rgba(200, 20, 45, 0.5) 40%, rgba(110, 5, 18, 0.9) 100%) border-box;
    border: 1px solid transparent;
    box-shadow: 
        inset 0 1.5px 3px rgba(255, 140, 160, 0.3),
        inset 0 -2.5px 6px rgba(0, 0, 0, 0.9),
        0 2px 5px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    gap: 12px;
    overflow: hidden;
    z-index: 4;
    transition: 
        background 0.2s ease,
        box-shadow 0.12s ease,
        border-color 0.2s ease;
}

.keycap-btn:hover .keycap-surface {
    background: 
        linear-gradient(180deg, #2e050c 0%, #1a0207 60%, #100104 100%) padding-box,
        linear-gradient(180deg, rgba(255, 95, 120, 0.9) 0%, rgba(230, 25, 55, 0.7) 40%, rgba(140, 8, 24, 0.95) 100%) border-box;
    box-shadow: 
        inset 0 2px 5px rgba(255, 160, 180, 0.4),
        inset 0 -2.5px 6px rgba(0, 0, 0, 0.9),
        0 0 16px rgba(220, 20, 45, 0.35);
}

.keycap-btn:active .keycap-surface,
.keycap-btn.is-pressed .keycap-surface {
    box-shadow: 
        inset 0 3px 8px rgba(0, 0, 0, 0.95),
        inset 0 0 14px rgba(220, 15, 40, 0.5);
    background: linear-gradient(180deg, #170205 0%, #0d0103 100%);
}

/* 3D Keycap Bottom Depth (Physical Height) */
.keycap-depth-edge {
    position: absolute;
    bottom: -5px;
    left: 1px;
    right: 1px;
    height: 5px;
    background: linear-gradient(180deg, #590410 0%, #300108 60%, #150003 100%);
    border-radius: 0 0 7px 7px;
    border: 1px solid rgba(220, 20, 45, 0.35);
    border-top: none;
    box-shadow: 
        0 5px 14px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(200, 15, 35, 0.4);
    pointer-events: none;
    z-index: 3;
    transition: 
        height 0.12s cubic-bezier(0.2, 0.9, 0.3, 1.2),
        bottom 0.12s cubic-bezier(0.2, 0.9, 0.3, 1.2),
        box-shadow 0.12s ease;
}

.keycap-btn:hover .keycap-depth-edge {
    height: 7px;
    bottom: -7px;
    background: linear-gradient(180deg, #6e0514 0%, #38010a 60%, #1a0004 100%);
    box-shadow: 
        0 7px 18px rgba(0, 0, 0, 0.95),
        0 0 28px rgba(230, 20, 45, 0.55);
}

.keycap-btn:active .keycap-depth-edge,
.keycap-btn.is-pressed .keycap-depth-edge {
    height: 1px !important;
    bottom: -1px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(200, 15, 35, 0.3) !important;
    transition-duration: 0.05s !important;
}

/* Tactile Laptop Return Symbol */
.keycap-enter-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 20, 50, 0.12);
    border: 1px solid rgba(255, 45, 75, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 0 6px rgba(255, 20, 50, 0.2), 0 0 10px rgba(220, 15, 40, 0.25);
    transition: all 0.2s ease;
}

.keycap-enter-icon svg {
    width: 15px;
    height: 15px;
    color: #ff2548;
    stroke: #ff2548;
    filter: drop-shadow(0 0 4px #ff1035);
    transition: transform 0.2s ease, stroke 0.2s ease, filter 0.2s ease;
}

.keycap-btn:hover .keycap-enter-icon {
    background: rgba(255, 20, 50, 0.25);
    border-color: rgba(255, 75, 105, 0.7);
    box-shadow: inset 0 0 8px rgba(255, 25, 55, 0.4), 0 0 15px rgba(255, 20, 50, 0.5);
}

.keycap-btn:hover .keycap-enter-icon svg {
    transform: translateX(-1.5px);
    stroke: #ffffff;
    color: #ffffff;
    filter: drop-shadow(0 0 6px #ff1744);
}

/* User's Clean Text Labels */
.keycap-label-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    flex-grow: 1;
}

.keycap-primary-label {
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #ffffff;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.9),
        0 0 12px rgba(255, 20, 50, 0.5);
    white-space: nowrap;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.keycap-btn:hover .keycap-primary-label {
    color: #ffffff;
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.95),
        0 0 16px #ff1a42,
        0 0 28px rgba(255, 20, 50, 0.6);
}

.keycap-sub-label {
    font-family: var(--font-mono);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 140, 160, 0.7);
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.keycap-btn:hover .keycap-sub-label {
    color: #ffffff;
}

/* Minimal Glowing Status LED */
.keycap-status-led {
    position: relative;
    width: 7px;
    height: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.keycap-status-led .led-core {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ff153c;
    box-shadow: 0 0 6px #ff153c, 0 0 12px rgba(255, 21, 60, 0.9);
}

.keycap-status-led .led-halo {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(255, 25, 60, 0.75);
    animation: ledHaloPulse 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes ledHaloPulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2.6); opacity: 0; }
}

/* ========================================================
   RESPONSIVE MOBILE & TABLET PRELOADER MASTER RULES
   100% Full Visibility: Zero cut off, seamless studio ambiance,
   perfected button elevation right beneath the laptop reflection
   ======================================================== */
@media (max-width: 768px), (orientation: portrait) {
    .laptop-cinema-stage {
        transform-origin: 50% 43.3% !important;
    }

    .laptop-cinema-stage.is-entering {
        transform: translateY(12px) scale(1.34);
        opacity: 0.2;
    }

    .laptop-cinema-stage.is-docked {
        transform: translateY(-4vh) scale(1.42);
        opacity: 1;
    }

    .laptop-cinema-stage.is-zooming {
        transform: translateY(-4vh) scale(5.2) !important;
        filter: contrast(1.2) brightness(1.15) !important;
        transition: transform 0.65s cubic-bezier(0.72, 0, 0.18, 1), filter 0.65s ease !important;
    }
    
    /* 176vw width: 100% of the laptop body fits with generous safe margins (zero cutoff) */
    .laptop-frame-wrapper {
        width: 176vw !important;
        max-width: 760px !important;
        height: auto !important;
        aspect-ratio: 2560 / 1280 !important;
        margin: auto;
        -webkit-mask-image: radial-gradient(ellipse 94% 84% at 50% 50%, #000000 62%, transparent 100%) !important;
        mask-image: radial-gradient(ellipse 96% 86% at 50% 50%, #000 66%, transparent 100%) !important;
    }

    /* Raised button: positioned comfortably higher, right beneath the keyboard reflection */
    .enter-key-stage {
        bottom: clamp(92px, 17vh, 135px) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .enter-switch-socket {
        padding: 5px;
        border-radius: 10px;
    }

    .keycap-btn {
        width: clamp(230px, 80vw, 285px) !important;
        height: 52px !important;
    }

    .keycap-surface {
        padding: 0 14px;
        gap: 10px;
    }

    .keycap-primary-label {
        font-size: 12.5px;
        letter-spacing: 0.14em;
    }

    .keycap-sub-label {
        font-size: 8px;
    }

    .keycap-enter-icon {
        width: 25px;
        height: 25px;
    }

    .keycap-enter-icon svg {
        width: 14px;
        height: 14px;
    }

    .keycap-depth-edge {
        height: 4px;
        bottom: -4px;
    }

    .keycap-btn:hover .keycap-depth-edge {
        height: 5.5px;
        bottom: -5.5px;
    }

    .keycap-btn:active,
    .keycap-btn.is-pressed {
        transform: translateY(3.5px) !important;
    }

    .keycap-btn:active .keycap-depth-edge,
    .keycap-btn.is-pressed .keycap-depth-edge {
        height: 1px !important;
        bottom: -1px !important;
    }

    /* Stage 1 BIOS Brand Splash on Mobile (Razor-Sharp 4K Clarity) */
    .bios-brand-container {
        padding: 2px 4px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .bios-emblem-wrap {
        width: 19px !important;
        height: 19px !important;
        margin-bottom: 2px !important;
    }

    .bios-brand-title {
        font-size: clamp(6px, 1.45vw, 8.4px) !important;
        letter-spacing: 0.08em !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        margin: 2px 0 3px 0 !important;
        max-width: 96% !important;
        text-align: center !important;
    }

    .bios-title-top,
    .bios-title-bot {
        display: block !important;
        white-space: nowrap !important;
        overflow: visible !important;
    }

    .bios-brand-sub {
        font-size: clamp(3.8px, 0.9vw, 4.8px) !important;
        letter-spacing: 0.05em !important;
        white-space: nowrap !important;
        margin-bottom: 4px !important;
        max-width: 96% !important;
    }

    .bios-loader-wrap {
        width: clamp(65px, 15vw, 90px) !important;
        height: 2px !important;
    }

    /* Stage 2 Kali Linux Terminal on Mobile (Razor-Sharp 4K Clarity) */
    .kali-titlebar {
        height: 15px;
        padding: 0 5px;
    }
    .kali-dot {
        width: 4px;
        height: 4px;
    }
    .kali-title-text {
        font-size: 5.6px !important;
        white-space: nowrap !important;
        gap: 3.5px;
    }
    .kali-title-logo {
        width: 8.5px;
        height: 8.5px;
    }
    .kali-node-id {
        font-size: 4.8px;
    }
    .kali-terminal-body {
        padding: 4px 7px;
        gap: 2.2px;
        font-size: 6.2px;
    }
    .kali-cli-section {
        gap: 1px;
        margin-bottom: 1.5px;
    }
    .kali-prompt-line {
        font-size: 6.2px !important;
        white-space: nowrap !important;
        line-height: 1.22;
    }
    .kali-command-input-line {
        font-size: 6.4px !important;
        line-height: 1.22;
    }
    .kali-cursor {
        font-size: 7.8px;
    }
    .kali-data-row {
        font-size: 5.8px !important;
        gap: 4px;
        white-space: nowrap !important;
        line-height: 1.22;
    }
    .k-label {
        min-width: 54px;
    }
    .kali-divider {
        font-size: 4.8px;
        margin: 1px 0;
    }
    .kali-status-row {
        font-size: 6px !important;
        gap: 4px;
    }
}

/* Mobile Landscape Support */
@media (max-width: 920px) and (orientation: landscape) {
    .laptop-cinema-stage {
        transform-origin: 50% 45%;
    }
    .laptop-cinema-stage.is-docked {
        transform: translateY(-2vh) scale(1.15);
    }
    .laptop-frame-wrapper {
        width: auto !important;
        height: 85vh !important;
        aspect-ratio: 2560 / 1280 !important;
        margin: auto;
    }
    .enter-key-stage {
        bottom: 14px !important;
    }
    .keycap-btn {
        height: 44px !important;
        width: 215px !important;
    }
}

/* ====== CUSTOM CURSOR ====== */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: #00ff66;
    box-shadow: 0 0 10px #00ff66, 0 0 20px rgba(0, 255, 102, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000000;
    will-change: transform;
    margin-left: -4px;
    margin-top: -4px;
    transition: width 0.2s, height 0.2s, background 0.2s, margin 0.2s;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1.5px solid #00ff66;
    box-shadow: 0 0 12px rgba(0, 255, 102, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999999;
    will-change: transform;
    opacity: 0.75;
    margin-left: -20px;
    margin-top: -20px;
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s, margin 0.3s var(--ease-out);
}

.cursor-dot.hover {
    width: 40px;
    height: 40px;
    margin-left: -20px;
    margin-top: -20px;
    background: rgba(170, 255, 0, 0.15);
    border: 1px solid var(--neon-green);
}

.cursor-ring.hover {
    width: 60px;
    height: 60px;
    margin-left: -30px;
    margin-top: -30px;
    border-color: var(--purple);
    opacity: 0.4;
}

/* Embedded Chakri Weapon inside Cursor Dot */
.cursor-chakri-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 26px;
    margin-left: -13px;
    margin-top: -13px;
    object-fit: contain;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.2);
    transition: opacity 0.15s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 0 6px rgba(255, 42, 74, 1)) drop-shadow(0 0 14px rgba(255, 42, 74, 0.75));
}

/* 1-Second Click Chakri Strike on Cursor */
.cursor-dot.chakri-strike {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.cursor-dot.chakri-strike .cursor-chakri-img {
    opacity: 1;
    animation: spinChakriStrike var(--strike-speed, 0.42s) linear infinite;
}

@keyframes spinChakriStrike {
    from {
        transform: scale(1) rotate(0deg);
    }
    to {
        transform: scale(1) rotate(360deg);
    }
}

.cursor-ring.chakri-strike {
    width: 52px !important;
    height: 52px !important;
    margin-left: -26px !important;
    margin-top: -26px !important;
    border-color: #ff2a4a !important;
    box-shadow: 0 0 24px rgba(255, 42, 74, 0.85), inset 0 0 10px rgba(255, 42, 74, 0.35) !important;
    opacity: 1 !important;
}

/* ====== GRID OVERLAY ====== */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
}

.grid-line {
    width: 1px;
    height: 100%;
    background: rgba(170, 255, 0, 0.04);
}

/* ====== NAVIGATION — 100% BOUNDARY-LESS & DYNAMIC DIFFERENCE BLEND ====== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 54px 0 40px;
    z-index: 1000;
    mix-blend-mode: difference;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    pointer-events: none;
}

.nav > * {
    pointer-events: auto;
}

/* Fixed Floating Emblem Anchor (100% Pure Red, Sits Outside Difference Blend) */
.nav-emblem-anchor {
    position: fixed;
    top: 0;
    left: 40px;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 1002;
    pointer-events: auto;
    cursor: pointer;
}

.nav-logo-spacer {
    display: inline-block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.16em;
    cursor: pointer;
    transition: transform 0.3s var(--ease-out);
}

.nav-logo:hover {
    transform: translateY(-1px);
}

.nav-logo-symbol {
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 0;
    filter: drop-shadow(0 0 8px rgba(255, 30, 30, 0.85)) drop-shadow(0 0 16px rgba(255, 0, 0, 0.65));
    transition: opacity 0.35s ease, transform 0.35s var(--ease-out), filter 0.35s ease;
    cursor: pointer;
}

.nav-logo-symbol:hover,
.nav-emblem-anchor:hover .nav-logo-symbol,
.nav-logo:hover .nav-logo-symbol {
    transform: rotate(18deg) scale(1.15);
    filter: drop-shadow(0 0 14px rgba(255, 40, 40, 1)) drop-shadow(0 0 28px rgba(255, 0, 0, 0.9));
}

.nav-logo-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-logo-text .logo-first {
    color: var(--white);
    font-weight: 800;
    letter-spacing: 0.14em;
    transition: color 0.3s ease;
}

.nav-logo-text .logo-last {
    color: var(--neon-green);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-shadow: 0 0 14px rgba(170, 255, 0, 0.35);
    transition: all 0.3s ease;
}

.nav-logo:hover .nav-logo-text .logo-last {
    text-shadow: 0 0 20px rgba(170, 255, 0, 0.7);
}

.nav-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-sfx-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-sfx-btn:hover {
    background: rgba(255, 42, 42, 0.1);
    border-color: #FF2A2A;
    color: #FF2A2A;
    box-shadow: 0 0 12px rgba(255, 42, 42, 0.5);
}

.nav-sfx-btn.sfx-muted {
    opacity: 0.45;
    border-color: rgba(255, 255, 255, 0.1);
}

.nav-separator {
    color: var(--neon-green);
}

.nav-menu-btn {
    position: relative;
    padding: 12px 24px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--neon-green);
    transition: all 0.3s var(--ease-out);
}

/* Chamfered corner borders */
.menu-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1px solid var(--neon-green);
    transition: all 0.3s var(--ease-out);
}

.menu-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.menu-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.menu-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.menu-corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }

.nav-menu-btn:hover .menu-corner {
    width: 100%;
    height: 100%;
}

.nav-menu-btn:hover {
    background: rgba(170, 255, 0, 0.05);
}

/* ====== NEXAR FLOATING SIDE MENU ====== */
.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 20px 24px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}

.side-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.side-menu-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); /* Pure dimming, ZERO blur so all letters on page remain 100% sharp and readable */
    cursor: pointer;
}

.side-menu-card {
    position: relative;
    z-index: 2;
    width: 440px;
    max-width: 100%;
    height: min(780px, calc(100vh - 40px));
    background: rgba(9, 9, 12, 0.82); /* 80% opacity dark glass, ZERO blur */
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.85),
        0 0 40px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 32px;
    transform: translateX(40px) scale(0.96);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.side-menu-overlay.active .side-menu-card {
    transform: translateX(0) scale(1);
    opacity: 1;
}

/* Header */
.side-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.side-menu-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
}

.side-menu-close {
    position: relative;
    padding: 7px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(170, 255, 0, 0.25);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
}

.side-menu-close .menu-text {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--neon-green);
    font-weight: 700;
}

.side-menu-close .menu-corner {
    position: absolute;
    width: 6px;
    height: 6px;
    border: 1.5px solid var(--neon-green);
    transition: all 0.25s ease;
}

.side-menu-close .menu-corner.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.side-menu-close .menu-corner.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.side-menu-close .menu-corner.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.side-menu-close .menu-corner.br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.side-menu-close:hover {
    background: rgba(170, 255, 0, 0.12);
    border-color: var(--neon-green);
    box-shadow: 0 0 14px rgba(170, 255, 0, 0.4);
    transform: translateY(-1px);
}

/* Primary Nav Links */
.side-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: auto 0;
    padding: 16px 0;
}

.side-nav-item {
    display: block;
    text-decoration: none;
    transition: transform 0.25s var(--ease-out);
}

.nav-bracket-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.25s var(--ease-out);
}

.nav-item-text {
    font-family: var(--font-body);
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.1;
    transition: color 0.25s ease;
}

/* Corner bracket ticks on items */
.nav-bracket-box .box-corner {
    position: absolute;
    width: 7px;
    height: 7px;
    border: 2px solid #000;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.nav-bracket-box .box-corner.tl { top: 3px; left: 3px; border-right: none; border-bottom: none; }
.nav-bracket-box .box-corner.tr { top: 3px; right: 3px; border-left: none; border-bottom: none; }
.nav-bracket-box .box-corner.bl { bottom: 3px; left: 3px; border-right: none; border-top: none; }
.nav-bracket-box .box-corner.br { bottom: 3px; right: 3px; border-left: none; border-top: none; }

/* Signature Active & Hover Badge (light background + black text + corner brackets) */
.side-nav-item:hover .nav-bracket-box,
.side-nav-item.is-active .nav-bracket-box {
    background: #E8EDE6;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.12);
    transform: translateX(6px);
}

.side-nav-item:hover .nav-item-text,
.side-nav-item.is-active .nav-item-text {
    color: #0A0A0A;
}

.side-nav-item:hover .box-corner,
.side-nav-item.is-active .box-corner {
    opacity: 1;
}

/* Connect Section */
.side-menu-connect {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    margin-bottom: 16px;
}

.connect-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.connect-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
}

.connect-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.2s ease;
}

.connect-num {
    font-size: 9px;
    color: var(--neon-green);
    opacity: 0.8;
}

.connect-name {
    font-weight: 500;
}

.connect-arrow {
    color: var(--neon-green);
    font-size: 12px;
    transition: transform 0.2s ease;
}

.connect-link:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.connect-link:hover .connect-arrow {
    transform: translate(2px, -2px);
}

/* Footer */
.side-menu-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-credit {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .side-menu-overlay {
        padding: 0;
    }
    .side-menu-card {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        border: none;
        padding: 22px;
    }
    .nav-item-text {
        font-size: 32px;
    }
}

/* ====== HERO SECTION ====== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    padding-top: var(--nav-height);
}

.hero-left {
    z-index: 5;
}

.hero-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-meta-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--gray);
    text-transform: uppercase;
}

.hero-meta-value {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.25s ease, text-shadow 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hero-meta-link:hover {
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(170, 255, 0, 0.4);
}

.hero-intro {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-subtitle {
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.7;
    color: var(--gray-light);
    font-weight: 300;
    max-width: 550px;
}

.hero-subtitle-second {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.72);
}

.highlight-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.ai-tag {
    background: rgba(170, 255, 0, 0.15);
    color: var(--neon-green);
    border: 1px solid rgba(170, 255, 0, 0.3);
}

.web-tag {
    background: rgba(91, 0, 217, 0.2);
    color: var(--purple-light);
    border: 1px solid rgba(91, 0, 217, 0.3);
}

.hero-badge {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
}

.badge-text {
    display: inline-block;
    background: var(--neon-green);
    color: var(--black);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    padding: 8px 20px;
    text-transform: uppercase;
    clip-path: polygon(
        0 0, 
        calc(100% - var(--chamfer-sm)) 0, 
        100% var(--chamfer-sm), 
        100% 100%, 
        var(--chamfer-sm) 100%, 
        0 calc(100% - var(--chamfer-sm))
    );
}

/* ====== WEAPON CANVAS & FLYING BOOMERANG CHAKRI ====== */
.weapon-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
}

.flying-weapon {
    position: fixed;
    top: 0;
    left: 0;
    width: 68px;
    height: 68px;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transform: translate(-9999px, -9999px);
    transform-origin: center center;
    will-change: transform, opacity;
}

.weapon-blade {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(255, 30, 30, 0.95)) drop-shadow(0 0 32px rgba(255, 0, 0, 0.8));
    animation: bladeHighSpin 0.12s linear infinite;
}

@keyframes bladeHighSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.weapon-glow {
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle, rgba(255, 30, 30, 0.45) 0%, rgba(255, 0, 0, 0.15) 50%, transparent 75%);
    pointer-events: none;
    border-radius: 50%;
}

/* Nav logo symbol dock pulse */
.nav-logo-symbol.dock-pulse {
    animation: dockPulseRing 0.6s ease-out;
}

@keyframes dockPulseRing {
    0% {
        transform: scale(1.7);
        filter: drop-shadow(0 0 25px rgba(255, 30, 30, 1)) drop-shadow(0 0 50px rgba(255, 0, 0, 0.9));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 6px rgba(255, 30, 30, 0.65));
    }
}

/* Procedural Dynamic Rhythmic Spin for Nav Logo Symbol (Driven by GSAP Engine) */
.nav-logo-symbol.rhythmic-spin {
    transform-origin: center center;
    will-change: transform, filter;
    transition: filter 0.3s ease;
}

.nav-logo-symbol.rhythmic-spin:hover,
.nav-emblem-anchor:hover .nav-logo-symbol.rhythmic-spin,
.nav-logo:hover .nav-logo-symbol.rhythmic-spin {
    filter: drop-shadow(0 0 18px rgba(255, 40, 40, 1)) drop-shadow(0 0 35px rgba(255, 0, 0, 0.95)) !important;
}

/* ====== HERO NAME SLICED TYPOGRAPHY ====== */
.hero-name {
    margin-bottom: 22px;
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-name-sliced {
    position: relative;
    display: inline-block;
    cursor: pointer;
    transform: translateY(100%);
    opacity: 0;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

/* Zero muddy glow on hover! Ultra-crisp surgical 4K clarity */
.hero-name-sliced:hover {
    filter: brightness(1.15) contrast(1.05);
}

/* Dopamine Tactile Switch Physics on Click / Tap */
.hero-name-sliced:active,
.hero-name-sliced.is-punch {
    transform: scale(0.965) translateY(2px) !important;
    transition: transform 0.06s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-slice {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(62px, 8.8vw, 126px);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: 0.08em;
    background: linear-gradient(
        115deg,
        #ffffff 0%,
        #ffffff 22%,
        #96f315 42%,
        #ffffff 52%,
        #00F0FF 68%,
        #ffffff 82%,
        #ffffff 100%
    );
    background-size: 260% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: none; /* NO muddy drop-shadow blur! Clean surgical 4K */
    transition: 
        transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-position 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, background-position;
}

/* Liquid titanium specular highlight sweeps on hover */
.hero-name-sliced:hover .hero-slice {
    background-position: 100% 50%;
}

/* Top half cut */
.hero-slice-top {
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 57%);
    transform: translate(0, 0);
    transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Bottom half cut */
.hero-slice-bottom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 57%, 100% 50%, 100% 100%, 0 100%);
    transform: translate(0, 0);
    transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Kinetic Magnetic Shear on Hover: Top & Bottom slide in opposition with tactile snap */
.hero-name-sliced:hover .hero-slice-top {
    transform: translate(7px, -2px);
}

.hero-name-sliced:hover .hero-slice-bottom {
    transform: translate(-7px, 2px);
}

/* Permanent Sliced State after Chakri Cuts Through */
.hero-name-sliced.is-sliced .hero-slice-top {
    transform: translate(4px, -2.5px);
}

.hero-name-sliced.is-sliced .hero-slice-bottom {
    transform: translate(-4px, 2.5px);
}

/* When already sliced, hover further expands the gap with high-tension spring */
.hero-name-sliced.is-sliced:hover .hero-slice-top {
    transform: translate(10px, -4.5px);
}

.hero-name-sliced.is-sliced:hover .hero-slice-bottom {
    transform: translate(-10px, 4.5px);
}

/* Razor-sharp Laser Incision Seam between halves */
.hero-slash-seam {
    position: absolute;
    left: -4%;
    top: 55%;
    width: 108%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #96f315 15%, #ffffff 50%, #00F0FF 85%, transparent 100%);
    box-shadow: 0 0 6px rgba(150, 243, 21, 0.8), 0 0 14px rgba(0, 240, 255, 0.5);
    transform-origin: left center;
    transform: rotate(-3.5deg) scaleX(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    z-index: 3;
}

.hero-name-sliced:hover .hero-slash-seam {
    transform: rotate(-3.5deg) scaleX(1);
    opacity: 0.9;
}

.hero-name-sliced.is-sliced .hero-slash-seam {
    transform: rotate(-3.5deg) scaleX(1);
    opacity: 0.95;
    background: linear-gradient(90deg, transparent 0%, #FF1E1E 12%, #FFAAAA 50%, #FF1E1E 88%, transparent 100%);
    box-shadow: 0 0 6px rgba(255, 30, 30, 0.9), 0 0 12px rgba(255, 0, 0, 0.6);
}

/* Impact flash on weapon collision (Clean surgical flash, no fuzzy blur cloud) */
.hero-name-sliced.impact-flash {
    filter: brightness(2.0) contrast(1.15);
}

/* Cyber Chromatic Slices Glitch */
.hero-slice::before,
.hero-slice::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.08s ease;
}

.hero-slice::before {
    color: #00F0FF;
    -webkit-text-fill-color: #00F0FF;
    z-index: -1;
    transform: translate(-3px, 0);
}

.hero-slice::after {
    color: #AAFF00;
    -webkit-text-fill-color: #AAFF00;
    z-index: -2;
    transform: translate(3px, 0);
}

.hero-name-sliced.is-glitching .hero-slice::before {
    opacity: 0.85;
    clip-path: polygon(0 18%, 100% 18%, 100% 36%, 0 36%);
    transform: translate(-4px, 1px);
}

.hero-name-sliced.is-glitching .hero-slice::after {
    opacity: 0.85;
    clip-path: polygon(0 60%, 100% 60%, 100% 78%, 0 78%);
    transform: translate(4px, -1px);
}

/* Subtle Shimmer Animation */
@keyframes heroShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Stylish Monospace Badge beside HARSH */
.hero-name-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--neon-green);
    background: rgba(170, 255, 0, 0.07);
    border: 1px solid rgba(170, 255, 0, 0.25);
    padding: 6px 12px;
    margin-bottom: 10px;
    clip-path: polygon(
        0 0,
        calc(100% - 6px) 0,
        100% 6px,
        100% 100%,
        6px 100%,
        0 calc(100% - 6px)
    );
    opacity: 0;
    transform: translateY(20px);
    transition: border-color 0.3s, text-shadow 0.3s, background 0.3s;
}

.hero-name-tag:hover {
    background: rgba(170, 255, 0, 0.15);
    border-color: var(--neon-green);
    text-shadow: 0 0 10px rgba(170, 255, 0, 0.6);
}

.hero-sub {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    margin-top: 18px;
}

.hero-sub-icon {
    font-size: 16px;
}

.hero-sub-text {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--gray);
    text-transform: uppercase;
}

/* Hero Photo */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.hero-photo-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: scale(0.9);
}

.hero-photo-frame {
    position: relative;
    width: clamp(300px, 28vw, 420px);
    height: clamp(400px, 37vw, 560px);
    overflow: hidden;
    clip-path: polygon(
        0 0,
        calc(100% - var(--chamfer)) 0,
        100% var(--chamfer),
        100% 100%,
        var(--chamfer) 100%,
        0 calc(100% - var(--chamfer))
    );
}

.hero-photo-frame {
    position: relative;
    width: clamp(300px, 28vw, 420px);
    height: clamp(400px, 37vw, 560px);
    overflow: hidden;
    clip-path: polygon(
        0 0,
        calc(100% - var(--chamfer)) 0,
        100% var(--chamfer),
        100% 100%,
        var(--chamfer) 100%,
        0 calc(100% - var(--chamfer))
    );
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}

.hero-photo-frame:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.6);
}

/* Base Photo — Natural tones with punchy contrast, crisp and authentic (never white/washed out!) */
.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: contrast(1.15) brightness(0.95);
    transition: filter 0.4s var(--ease-out);
}

.hero-photo-frame:hover .hero-photo {
    filter: contrast(1.18) brightness(0.96);
}

/* Localized Cyber Liquid Cursor Ripple — ONLY under the mouse pointer, pure light purple */
.hero-cursor-liquid-ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
    opacity: 0;
    /* Localized radial spotlight: 85px circle right under the cursor, pure transparent purple */
    background: radial-gradient(
        circle 85px at var(--mx, 50%) var(--my, 50%),
        rgba(216, 180, 254, 0.22) 0%,
        rgba(168, 85, 247, 0.08) 42%,
        transparent 75%
    );
    mix-blend-mode: screen;
    transition: opacity 0.25s ease;
    will-change: background, opacity;
}

/* Elastic Water Ripple Ring (Centers precisely on cursor point) */
.liquid-ripple-ring {
    position: absolute;
    top: var(--my, 50%);
    left: var(--mx, 50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(var(--rscale, 1));
    border: 1px solid rgba(192, 132, 252, 0.32);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.22);
    filter: blur(1px);
    pointer-events: none;
    transition: transform 0.12s ease-out;
    will-change: transform, top, left;
}

/* Active state on desktop hover */
@media (hover: hover) and (pointer: fine) {
    .hero-photo-frame:hover .hero-cursor-liquid-ripple {
        opacity: 1;
    }
}

/* Mobile safety - strictly disabled on touch devices to ensure ZERO lag & 100% clean photo */
@media (hover: none), (pointer: coarse) {
    .hero-cursor-liquid-ripple {
        display: none !important;
    }
}

/* Exact Green/Purple RGB Chromatic Glitch Layers */
.hero-glitch-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: screen;
    transition: none;
    will-change: transform, opacity;
}

/* Signature Hacker Matrix Phosphor Green */
.hero-glitch-green {
    /* Pure monochrome-to-matrix-green conversion: transforms luminance into glowing cyberpunk green */
    filter: grayscale(1) sepia(1) hue-rotate(85deg) saturate(14) brightness(1.25) contrast(1.6) drop-shadow(-4px 0 14px rgba(0, 255, 102, 0.95));
    mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0.95) 48%, rgba(0,0,0,0.25) 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0.95) 48%, rgba(0,0,0,0.25) 75%, transparent 100%);
}

/* Signature Neon Purple/Magenta Shift (Right profile fringe) */
.hero-glitch-purple {
    filter: grayscale(1) sepia(1) hue-rotate(265deg) saturate(12) brightness(1.2) contrast(1.5) drop-shadow(4px 0 14px rgba(217, 70, 239, 0.9));
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0.9) 45%, rgba(0,0,0,0.2) 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0.9) 45%, rgba(0,0,0,0.2) 75%, transparent 100%);
}

/* Glitch Slice Layers — Horizontal displacement slices (never white or blue face) */
.hero-photo-slice {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    filter: contrast(1.18) brightness(0.96);
    transition: none;
}

/* Scanline Overlay — CRT Monitor lines with subtle hacker phosphor raster */
.scanline-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.16) 0px,
        rgba(0, 0, 0, 0.16) 1px,
        transparent 1px,
        transparent 3px
    ),
    repeating-linear-gradient(
        90deg,
        rgba(0, 255, 102, 0.025) 0px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
    z-index: 6;
}

/* Noise overlay */
.photo-noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 7;
    opacity: 0.12;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 128 128' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
    background-size: 128px;
    mix-blend-mode: overlay;
}

/* Micro-twitch effect (70ms digital glitch) */
.hero-photo-frame.micro-twitch {
    transform: translate(2px, -1px);
}

/* ====== CYBERNAUT HERO BADGE (REDDISH-GREEN CYBER AESTHETIC) ====== */
.hero-cybernaut-wrapper {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 5;
}

.hero-cybernaut-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 18px;
    background: linear-gradient(135deg, rgba(16, 26, 12, 0.9) 0%, rgba(26, 12, 18, 0.9) 100%);
    border: 1px solid rgba(150, 243, 21, 0.35);
    backdrop-filter: blur(8px);
    box-shadow: 
        0 4px 18px rgba(0, 0, 0, 0.5),
        0 0 16px rgba(255, 42, 85, 0.18),
        inset 0 0 12px rgba(150, 243, 21, 0.12);
    /* Cyber chamfer matching site design language */
    clip-path: polygon(
        0 0,
        calc(100% - 7px) 0,
        100% 7px,
        100% 100%,
        7px 100%,
        0 calc(100% - 7px)
    );
    cursor: default;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    user-select: none;
}

/* Reddish-Green Dual Glow on Hover */
.hero-cybernaut-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 42, 85, 0.65);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(255, 42, 85, 0.35),
        0 0 20px rgba(150, 243, 21, 0.35),
        inset 0 0 16px rgba(150, 243, 21, 0.2);
}

.cybernaut-prefix {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 800;
    color: #ff3366;
    letter-spacing: 1px;
    opacity: 0.9;
    text-shadow: 0 0 6px rgba(255, 51, 102, 0.6);
}

.cybernaut-text {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    /* Reddish-green cyber gradient */
    background: linear-gradient(
        90deg,
        #96f315 0%,
        #b8ff24 35%,
        #ff4d6d 72%,
        #ff2a4a 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(150, 243, 21, 0.4)) drop-shadow(0 0 10px rgba(255, 42, 74, 0.4));
    transition: filter 0.3s ease;
}

.hero-cybernaut-badge:hover .cybernaut-text {
    filter: drop-shadow(0 0 12px rgba(150, 243, 21, 0.65)) drop-shadow(0 0 14px rgba(255, 42, 74, 0.65));
}

/* Pulsing Reddish-Green Dual LED indicator */
.cybernaut-led {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    animation: cybernautLedShift 2.2s ease-in-out infinite;
}

@keyframes cybernautLedShift {
    0%, 100% {
        background-color: #96f315;
        box-shadow: 0 0 8px #96f315, 0 0 14px rgba(150, 243, 21, 0.5);
    }
    50% {
        background-color: #ff2a4a;
        box-shadow: 0 0 10px #ff2a4a, 0 0 16px rgba(255, 42, 74, 0.6);
    }
}

.hero-photo-meta {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    display: flex;
    gap: 20px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--gray);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-text {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--gray);
    writing-mode: vertical-rl;
}

.scroll-arrows {
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation: scroll-bounce 2s infinite;
}

.scroll-arrows span {
    font-size: 8px;
    color: var(--neon-green);
    opacity: 0.5;
}

.scroll-arrows span:nth-child(2) { opacity: 0.7; }
.scroll-arrows span:nth-child(3) { opacity: 1; }

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.hero-coordinates {
    position: absolute;
    bottom: 40px;
    left: 60px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--gray);
    opacity: 0.5;
}

/* ====== MANIFESTO SECTION ====== */
.manifesto {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--section-padding) 60px;
    position: relative;
}

.manifesto-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.manifesto-text {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    line-height: 1.3;
    margin-bottom: 30px;
}

.mword {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4.5vw, 64px);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    transition: color 0.8s var(--ease-out);
    letter-spacing: 0.02em;
}

.mword.active {
    color: var(--white);
}

.mword-highlight.active {
    color: var(--neon-green);
    text-shadow: 0 0 30px rgba(170, 255, 0, 0.2);
}

.mword-sep {
    color: var(--neon-green) !important;
    opacity: 0.5;
}

.manifesto-arrow {
    font-family: var(--font-mono);
    font-size: 18px;
    color: var(--neon-green);
    letter-spacing: 0.1em;
    margin-top: 20px;
    opacity: 0.6;
}

/* About Grid */
.manifesto-about {
    padding: 80px 0;
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    align-items: start;
}

.about-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--neon-green);
    text-transform: uppercase;
    position: sticky;
    top: 120px;
}

.label-bracket {
    color: var(--gray);
}

.about-text {
    font-family: var(--font-body, 'Space Grotesk', sans-serif);
    font-size: clamp(17px, 1.45vw, 21px);
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 300;
    letter-spacing: 0.015em;
    max-width: 860px;
}

.about-text p {
    margin-bottom: 24px;
}

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

/* Red Italic Serif Accent (Matches 'Art' from reference image) */
.about-accent-italic {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-style: italic;
    color: #ff2a4a;
    font-size: 1.14em;
    font-weight: 500;
    display: inline;
    letter-spacing: 0.02em;
    padding: 0 1px;
}

/* Neon-Green Monospace Code Tag (Matches '<technology/>' from reference image) */
.about-code-tag {
    font-family: var(--font-mono, 'Space Mono', monospace);
    color: #96f315;
    font-size: 0.94em;
    font-weight: 600;
    letter-spacing: 0.03em;
    display: inline-block;
    padding: 0 2px;
}

/* ==========================================================================
   NEXAR NEON CYBER MATRIX & ARSENAL STAGE
   ========================================================================== */
.nexar-grid-stage {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #96f315;
    color: #000000;
    padding: 60px 48px 80px;
    box-sizing: border-box;
    overflow: hidden;
    font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    z-index: 10;
}

/* 5 Vertical Grid Column Guides */
.nexar-grid-guides {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    pointer-events: none;
    z-index: 1;
}

.grid-col-line {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
}
.grid-col-line:first-child {
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

/* Section Header for Skills & Tools inside Nexar Stage */
.nexar-section-header {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto 36px;
    position: relative;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.nexar-section-header .section-title {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.nexar-section-header .title-index {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #000000;
    opacity: 0.6;
}

.nexar-section-header .title-text {
    font-family: var(--font-heading);
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 900;
    letter-spacing: -0.01em;
    color: #000000;
    text-transform: uppercase;
}

.nexar-section-header .section-subtitle {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.65);
    text-transform: uppercase;
}

/* Staggered Arsenal Bento Matrix */
.nexar-cards-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1500px;
    margin: 0 auto;
}

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

/* Centered Bottom Row: Nmap Placed Directly in the Middle Underneath the 3 Cards */
.nexar-bento-row-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 0;
}

.nexar-bento-row-bottom .nexar-cyber-card {
    width: calc((100% - 48px) / 3);
    max-width: 480px;
}

/* Cyber Card Structure - Signature Acid Green matching PORTFOLIO / HARSH */
.nexar-cyber-card {
    position: relative;
    background: #96f315;
    /* Signature folder-tab notch on top-left and chamfered bottom-right */
    clip-path: polygon(
        0 26px,
        15px 26px,
        15px 0,
        100% 0,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        0 100%
    );
    border: 1px solid rgba(0, 0, 0, 0.35);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.3s ease;
    cursor: default;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

/* Dark cyber border outline effect around clipped geometry */
.nexar-cyber-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1.5px solid rgba(0, 0, 0, 0.35);
    pointer-events: none;
    clip-path: polygon(
        0 26px,
        15px 26px,
        15px 0,
        100% 0,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        0 100%
    );
    z-index: 3;
    transition: border-color 0.3s ease;
}

/* Hover lift and elevation */
.nexar-cyber-card:hover {
    transform: translateY(-5px);
    background: #8ce80e;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.nexar-cyber-card:hover::before {
    border-color: rgba(0, 0, 0, 0.85);
}

.card-inner {
    position: relative;
    z-index: 2;
    padding: 22px 24px 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

/* Card Top Row */
.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.card-title-mono {
    font-family: var(--font-mono, monospace);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000000;
}

/* Badges & Indicators */
.card-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #000000;
}

.card-status-dot.pulse-dark {
    animation: nexarPulseDark 2s infinite ease-in-out;
}

@keyframes nexarPulseDark {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.75); }
}

.card-tag-red {
    background: #ff2525;
    color: #ffffff;
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 2px 7px;
    border-radius: 2px;
}

.card-pill-dark {
    background: #000000;
    color: #96f315;
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Card Art Box - Standardized Container for Equal Visual Sizing */
.card-art-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    width: 100%;
    margin: 16px 0 20px;
    position: relative;
}

/* Common Symbol Styling - Uniform Sizing */
.nexar-symbol-img {
    display: block;
    object-fit: contain;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease;
    user-select: none;
    pointer-events: none;
}

/* Kali Dragon Symbol */
.nexar-symbol-kali {
    height: 72px;
    max-width: 135px;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.35));
}
.nexar-cyber-card:hover .nexar-symbol-kali {
    transform: scale(1.1) rotate(-1deg);
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
}

/* Claude Spark Symbol */
.nexar-symbol-claude {
    height: 74px;
    width: 74px;
    filter: drop-shadow(0 3px 10px rgba(217, 102, 67, 0.3));
}
.nexar-cyber-card:hover .nexar-symbol-claude {
    transform: scale(1.12) rotate(12deg);
    filter: drop-shadow(0 6px 20px rgba(217, 102, 67, 0.55));
}

/* Automation Pipeline Symbol */
.nexar-symbol-auto {
    height: 68px;
    max-width: 135px;
    filter: drop-shadow(0 3px 10px rgba(234, 75, 113, 0.3));
}
.nexar-cyber-card:hover .nexar-symbol-auto {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 20px rgba(234, 75, 113, 0.55));
}

/* Nmap Scanner Eye Symbol */
.nexar-symbol-nmap {
    height: 68px;
    max-width: 140px;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.35));
}
.nexar-cyber-card:hover .nexar-symbol-nmap {
    transform: scale(1.1) rotate(1deg);
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
}



/* Loading Bars (Cyber Telemetry Vibes) */
.card-loading-bar {
    width: 100%;
    margin-top: auto;
    padding-top: 10px;
}

.loading-track {
    width: 100%;
    height: 5px;
    background: rgba(0, 0, 0, 0.16);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.loading-fill {
    height: 100%;
    background: #000000;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.loading-fill.fill-striped {
    background: repeating-linear-gradient(
        -45deg,
        #000000,
        #000000 6px,
        #2a2a2a 6px,
        #2a2a2a 12px
    );
    background-size: 24px 24px;
    animation: nexarStripeShift 1.2s linear infinite;
}

@keyframes nexarStripeShift {
    0% { background-position: 0 0; }
    100% { background-position: 24px 0; }
}

.loading-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(0, 0, 0, 0.85);
}

.loading-pct {
    color: #000000;
    font-weight: 800;
}

/* Accents Bottom Row */
.nexar-accents-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    position: relative;
    padding: 0 4px;
}

/* Purple Pixel Stack (Pyramid) */
.nexar-pixel-stack {
    display: flex;
    align-items: flex-end;
    padding: 10px;
}

.pixel-block-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.px-row {
    display: flex;
    gap: 3px;
}

.px-dot {
    width: 7px;
    height: 7px;
    background-color: #7928ca;
    border-radius: 1px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.nexar-pixel-stack:hover .px-dot {
    background-color: #9333ea;
    box-shadow: 0 0 4px #7928ca;
}

/* Rotating Radar Scanner */
.nexar-radar-widget {
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 1.5px solid #000000;
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.03);
}

.radar-crosshair {
    position: absolute;
    inset: 0;
}
.radar-crosshair::before, .radar-crosshair::after {
    content: '';
    position: absolute;
    background: rgba(0, 0, 0, 0.35);
}
.radar-crosshair::before {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    transform: translateX(-50%);
}
.radar-crosshair::after {
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    transform: translateY(-50%);
}

.radar-sweep {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(0, 0, 0, 0) 0deg,
        rgba(0, 0, 0, 0.05) 240deg,
        rgba(0, 0, 0, 0.45) 360deg
    );
    animation: nexarRadarSpin 2.6s linear infinite;
}

@keyframes nexarRadarSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.radar-ping-dot {
    position: absolute;
    top: 24%;
    left: 65%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ff2525;
    animation: nexarPingBlink 1.3s infinite ease-out;
}

@keyframes nexarPingBlink {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.4); }
}

/* Status Text */
.nexar-status-text {
    display: flex;
    align-items: center;
}

.status-mono-tag {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(0, 0, 0, 0.75);
}

/* Awwwards Side Pill */
.nexar-awwwards-tag {
    display: flex;
    justify-content: flex-end;
}

.awwwards-side-pill {
    background: #000000;
    color: #96f315;
    font-family: var(--font-mono, monospace);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: 3px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .nexar-three-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .nexar-bento-row-bottom .nexar-cyber-card {
        width: calc((100% - 32px) / 3);
    }
}

@media (max-width: 1024px) {
    .nexar-grid-stage {
        padding: 40px 24px 60px;
    }
    .nexar-three-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .nexar-bento-row-bottom {
        margin-top: 20px;
    }
    .nexar-bento-row-bottom .nexar-cyber-card {
        width: calc((100% - 20px) / 2);
    }
    .nexar-accents-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }
    .nexar-awwwards-tag {
        display: none;
    }
}

@media (max-width: 768px) {
    .nexar-grid-stage {
        padding: 36px 16px 50px;
    }
    .nexar-three-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .nexar-bento-row-bottom {
        margin-top: 18px;
    }
    .nexar-bento-row-bottom .nexar-cyber-card {
        width: 100%;
    }
    .nexar-accents-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ====== SKILLS & STATS SECTION ====== */
.skills-section {
    padding: 70px 60px 80px;
    position: relative;
    background: var(--neon-green);
    color: var(--black);
    transition: background 0.6s var(--ease-out);
}

.skills-header {
    max-width: 1200px;
    margin: 0 auto 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-title {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.title-index {
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 0.2em;
    color: var(--purple);
    opacity: 0.7;
}

.title-text {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: 0.03em;
    color: var(--black);
}

.section-subtitle {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.5);
}

/* Bento Grid */
.bento-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.bento-card {
    background: rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 22px 24px;
    position: relative;
    transition: all 0.4s var(--ease-out);
    clip-path: polygon(
        0 0,
        calc(100% - var(--chamfer-sm)) 0,
        100% var(--chamfer-sm),
        100% 100%,
        var(--chamfer-sm) 100%,
        0 calc(100% - var(--chamfer-sm))
    );
}

.bento-card:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.bento-stat .stat-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.3em;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.bento-stat .stat-number {
    font-family: var(--font-heading);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 900;
    color: var(--black);
    line-height: 1;
}

.bento-stat .stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 700;
    color: var(--purple);
}

.bento-stat .stat-text-value {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 800;
    color: var(--black);
    letter-spacing: 0.05em;
}

.bento-accent {
    background: var(--purple) !important;
    color: var(--white) !important;
}

.bento-accent .stat-label {
    color: rgba(255, 255, 255, 0.6) !important;
}

.bento-accent .stat-text-value {
    color: var(--neon-green) !important;
}

/* Tool Cards */
.bento-tool {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 120px;
}

.bento-tool .bento-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.tool-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dot-matrix-icon {
    width: 100%;
    height: 100%;
    color: var(--black);
    filter: url(#dot-matrix-filter);
}

.tool-name {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    font-weight: 700;
    color: var(--black);
}

.bento-purple {
    background: var(--purple) !important;
}

.bento-purple .dot-matrix-icon,
.bento-purple .tool-name {
    color: var(--white) !important;
}

/* Skills List */
.skills-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.skill-cat-title {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    color: var(--black);
    margin-bottom: 16px;
    font-weight: 700;
}

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

.skill-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--black);
    transition: all 0.3s var(--ease-out);
    clip-path: polygon(
        0 0,
        calc(100% - 6px) 0,
        100% 6px,
        100% 100%,
        6px 100%,
        0 calc(100% - 6px)
    );
}

.skill-tag:hover {
    background: var(--black);
    color: var(--neon-green);
}

/* ====== FROM IDEAS TO BUILDS (FEATURED PROJECTS SECTION) ====== */
.projects-section {
    padding: 70px 48px 90px;
    background: #000000;
    background-image: 
        radial-gradient(ellipse at 85% 15%, rgba(91, 0, 217, 0.09) 0%, transparent 60%),
        radial-gradient(ellipse at 15% 85%, rgba(170, 255, 0, 0.06) 0%, transparent 60%);
    position: relative;
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.projects-header {
    max-width: 1360px;
    margin: 0 auto 30px;
}

.projects-header .section-title .title-text {
    color: #ffffff;
}

.projects-header .section-subtitle {
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
    font-size: 13px;
}

/* Projects 2x2 Compact Grid (Accommodates 4 Projects) */
.projects-grid {
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

/* Modern Compact Project Card */
.project-card {
    position: relative;
    background: rgba(14, 14, 18, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 14px 35px -8px rgba(0, 0, 0, 0.95),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    transition: 
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(170, 255, 0, 0.35);
    box-shadow: 
        0 22px 50px -8px rgba(0, 0, 0, 0.98),
        0 0 28px rgba(170, 255, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* Tactical Corner Brackets (Compact Stylish Industrial Accents) */
.card-bracket {
    position: absolute;
    width: 10px;
    height: 10px;
    pointer-events: none;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-bracket.tl {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--neon-green);
    border-left: 2px solid var(--neon-green);
}
.card-bracket.tr {
    top: -1px;
    right: -1px;
    border-top: 2px solid var(--purple-light);
    border-right: 2px solid var(--purple-light);
}
.card-bracket.bl {
    bottom: -1px;
    left: -1px;
    border-bottom: 2px solid var(--purple-light);
    border-left: 2px solid var(--purple-light);
}
.card-bracket.br {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--neon-green);
    border-right: 2px solid var(--neon-green);
}

.project-card:hover .card-bracket.tl {
    transform: translate(-1.5px, -1.5px);
    border-color: #ffffff;
    filter: drop-shadow(0 0 5px var(--neon-green));
}
.project-card:hover .card-bracket.tr {
    transform: translate(1.5px, -1.5px);
    border-color: #ffffff;
    filter: drop-shadow(0 0 5px var(--purple-light));
}
.project-card:hover .card-bracket.bl {
    transform: translate(-1.5px, 1.5px);
    border-color: #ffffff;
    filter: drop-shadow(0 0 5px var(--purple-light));
}
.project-card:hover .card-bracket.br {
    transform: translate(1.5px, 1.5px);
    border-color: #ffffff;
    filter: drop-shadow(0 0 5px var(--neon-green));
}

/* Top Card Header */
.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 16px;
    background: rgba(0, 0, 0, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.project-badge {
    display: flex;
    align-items: center;
    gap: 7px;
}

.badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

.badge-dot.pulse-red {
    background: #ff2a4a;
    box-shadow: 0 0 7px #ff2a4a;
    animation: radarPulseRed 2s infinite;
}

.badge-dot.pulse-green {
    background: #00ff66;
    box-shadow: 0 0 7px #00ff66;
    animation: radarPulseGreen 2s infinite;
}

.badge-dot.pulse-amber {
    background: #ffb700;
    box-shadow: 0 0 7px #ffb700;
    animation: radarPulseAmber 2s infinite;
}

.badge-dot.pulse-cyan {
    background: #00e5ff;
    box-shadow: 0 0 7px #00e5ff;
    animation: radarPulseCyan 2s infinite;
}

@keyframes radarPulseRed {
    0%, 100% { opacity: 0.6; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.3); }
}

@keyframes radarPulseGreen {
    0%, 100% { opacity: 0.6; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.3); }
}

@keyframes radarPulseAmber {
    0%, 100% { opacity: 0.6; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.3); }
}

@keyframes radarPulseCyan {
    0%, 100% { opacity: 0.6; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.3); }
}

.badge-code {
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
}

.project-number {
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.4);
}

/* Media Frame (Scaled Compact Height, 100% Uncut Full Image) */
.project-media-frame {
    position: relative;
    width: 100%;
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: brightness(0.96) contrast(1.04);
    transition: 
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.35s ease;
}

.project-card:hover .project-img {
    transform: scale(1.02);
    filter: brightness(1) contrast(1.06);
}

.media-sheen {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
    transform: skewX(-24deg);
    pointer-events: none;
    z-index: 3;
    transition: left 0.8s ease;
}

.project-card:hover .media-sheen {
    left: 180%;
}


/* Card Content Area (Proportionally Compact Fonts) */
.project-content {
    padding: 16px 18px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-family: var(--font-heading);
    font-size: clamp(15px, 1.15vw, 17.5px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 7px;
    line-height: 1.32;
    letter-spacing: 0.02em;
}

.project-desc {
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 12px;
    font-weight: 400;
}

/* Tech Tags (Proportionally Compact) */
.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.tech-pill {
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
    transition: all 0.25s ease;
}

.tech-pill.muted {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.4);
}

.project-card:hover .tech-pill:not(.muted) {
    background: rgba(170, 255, 0, 0.08);
    border-color: rgba(170, 255, 0, 0.28);
    color: #ffffff;
}

/* Bottom Actions */
.project-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
}

.project-status-label {
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: 0.14em;
    color: var(--neon-green);
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
}

.project-status-label.pending {
    color: #ffb700;
}

.status-indicator.live {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: 0 0 7px var(--neon-green);
}

.status-indicator.pending {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ffb700;
    box-shadow: 0 0 7px #ffb700;
}

.project-spec-tag {
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.45);
}

/* Tactical GitHub Action Button */
.project-link-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(170, 255, 0, 0.08);
    border: 1px solid rgba(170, 255, 0, 0.4);
    color: var(--neon-green);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-link-btn .btn-corner {
    position: absolute;
    width: 3.5px;
    height: 3.5px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.project-link-btn .btn-corner.tl { top: -1px; left: -1px; border-top: 1.5px solid var(--neon-green); border-left: 1.5px solid var(--neon-green); }
.project-link-btn .btn-corner.tr { top: -1px; right: -1px; border-top: 1.5px solid var(--neon-green); border-right: 1.5px solid var(--neon-green); }
.project-link-btn .btn-corner.bl { bottom: -1px; left: -1px; border-bottom: 1.5px solid var(--neon-green); border-left: 1.5px solid var(--neon-green); }
.project-link-btn .btn-corner.br { bottom: -1px; right: -1px; border-bottom: 1.5px solid var(--neon-green); border-right: 1.5px solid var(--neon-green); }

.project-link-btn:hover {
    background: var(--neon-green);
    color: var(--black);
    box-shadow: 0 0 16px rgba(170, 255, 0, 0.45);
}

.project-link-btn:hover .btn-corner {
    border-color: #ffffff;
}

/* ====== CYBER TEASER: SOME POWERFUL PROJECTS IN PROGRESS (GLITCH FONT) ====== */
.projects-glitch-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 42px;
    position: relative;
    z-index: 5;
}

.projects-glitch-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px;
    background: rgba(14, 14, 20, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: 
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.projects-glitch-wrapper:hover {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.6),
        0 0 24px rgba(0, 229, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.glitch-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00e5ff;
    box-shadow: 0 0 8px #00e5ff;
    animation: statusPulseCyan 2s infinite ease-in-out;
}

.projects-glitch-text {
    position: relative;
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffffff;
    user-select: none;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

/* Chromatic Aberration RGB Cyber Slices Glitch */
.projects-glitch-text::before,
.projects-glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.projects-glitch-text::before {
    color: #00e5ff;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    animation: glitchSliceCyan 3.2s infinite ease-in-out alternate-reverse;
}

.projects-glitch-text::after {
    color: #ff2a4a;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    animation: glitchSliceCrimson 2.6s infinite ease-in-out alternate-reverse;
}

/* ========================================================
   MAGNET WIND TYPOGRAPHY & KINETIC SCROLL MORPH SYSTEM
   ======================================================== */
.wind-char {
    display: inline-block;
    position: relative;
    will-change: transform, text-shadow;
    transform-origin: 50% 50%;
    transition: text-shadow 0.16s ease, color 0.16s ease;
    user-select: none;
}

.wind-char.is-blown {
    color: #ffffff !important;
    text-shadow: 
        0 0 12px rgba(137, 230, 16, 0.85),
        -2.5px 0 rgba(0, 229, 255, 0.75),
        2.5px 0 rgba(255, 42, 74, 0.75) !important;
}

.wind-space {
    display: inline-block;
    width: 0.3em;
}

/* Kinetic 3D letter morph on scroll entry */
.has-kinetic-morph .wind-char {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

@keyframes glitchSliceCyan {
    0%, 86%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    87% {
        transform: translate(-3.5px, -1px);
        opacity: 0.85;
        clip-path: polygon(0 15%, 100% 15%, 100% 38%, 0 38%);
    }
    89% {
        transform: translate(2.5px, 1px);
        opacity: 0.95;
        clip-path: polygon(0 55%, 100% 55%, 100% 75%, 0 75%);
    }
    91% {
        transform: translate(-2px, 0);
        opacity: 0.75;
        clip-path: polygon(0 5%, 100% 5%, 100% 28%, 0 28%);
    }
    93% {
        transform: translate(0, 0);
        opacity: 0;
    }
}

@keyframes glitchSliceCrimson {
    0%, 88%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    89% {
        transform: translate(3.5px, 1px);
        opacity: 0.85;
        clip-path: polygon(0 42%, 100% 42%, 100% 68%, 0 68%);
    }
    91% {
        transform: translate(-2.5px, -1px);
        opacity: 0.95;
        clip-path: polygon(0 20%, 100% 20%, 100% 45%, 0 45%);
    }
    93% {
        transform: translate(2px, 0);
        opacity: 0.75;
        clip-path: polygon(0 72%, 100% 72%, 100% 92%, 0 92%);
    }
    95% {
        transform: translate(0, 0);
        opacity: 0;
    }
}

.glitch-terminal-cursor {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--neon-green);
    animation: terminalBlinkCursor 0.9s infinite steps(2, start);
    text-shadow: 0 0 8px var(--neon-green);
}

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

/* Responsive Layout */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .projects-section {
        padding: 60px 24px 80px;
    }
}

@media (max-width: 768px) {
    .projects-section {
        padding: 50px 16px 70px;
    }
    .project-content {
        padding: 14px 14px 14px;
    }
    .project-title {
        font-size: 15px;
    }
    .project-desc {
        font-size: 11.5px;
    }
}

/* ====== NEXAR NEON FOOTER & BENDING MATRIX ====== */
.nexar-footer-section {
    background: #96f315; /* Signature neon acid green */
    color: #000000;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

/* Top Action & Navigation Grid */
.nexar-footer-top {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    align-items: stretch;
    padding: 80px 60px 60px 60px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

/* Left CTA */
.nexar-cta-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 60px;
}

.nexar-cta-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 40px;
}

.cta-heading-line {
    font-family: var(--font-body);
    font-size: clamp(38px, 4.2vw, 68px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #000000;
    text-transform: uppercase;
}

.nexar-cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.nexar-btn {
    position: relative;
    padding: 14px 28px;
    background: #96f315;
    border: 1.5px solid #000000;
    color: #000000;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: none;
    box-shadow: 2px 2px 0 #000000;
}

.nexar-btn:hover {
    background: #000000;
    color: #96f315;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
    transform: translate(-2px, -2px);
}

.nexar-btn .btn-corner {
    position: absolute;
    width: 4px;
    height: 4px;
    border-color: #000000;
    transition: all 0.3s ease;
}

.nexar-btn:hover .btn-corner {
    border-color: #96f315;
}

.nexar-btn .btn-corner.tl { top: 2px; left: 2px; border-top: 1px solid; border-left: 1px solid; }
.nexar-btn .btn-corner.tr { top: 2px; right: 2px; border-top: 1px solid; border-right: 1px solid; }
.nexar-btn .btn-corner.bl { bottom: 2px; left: 2px; border-bottom: 1px solid; border-left: 1px solid; }
.nexar-btn .btn-corner.br { bottom: 2px; right: 2px; border-bottom: 1px solid; border-right: 1px solid; }

/* Divider */
.nexar-vertical-divider {
    background: rgba(0, 0, 0, 0.15);
    width: 1px;
    height: 100%;
}

/* Right Links Matrix */
.nexar-links-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding-left: 60px;
}

.nexar-link-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    gap: 20px;
    padding-bottom: 14px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
}

.nexar-link-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.nexar-row-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(0, 0, 0, 0.45);
    text-transform: uppercase;
}

.nexar-row-item {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #000000;
    text-transform: uppercase;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    cursor: none;
}

.nexar-row-item:hover {
    color: #5B00D9;
    transform: translateX(4px);
}

/* Bending Canvas Zone */
.nexar-bending-zone {
    position: relative;
    width: 100%;
    height: clamp(250px, 30vw, 420px);
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    background: transparent;
    overflow: hidden;
    cursor: none;
    user-select: none;
}

#nexarBendingCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}



/* ====== TARGET BOTTOM IMPACT FLOOR (At the absolute bottom edge where screen ends!) ====== */
.nexar-footer-bottom {
    position: relative;
    width: 100%;
    height: 24px;
    margin-top: auto;
    background: #96f315;
    overflow: visible;
    padding: 0;
    border: none;
}

/* The Horizontal Target Beam Border at the absolute bottom floor of the screen */
.target-border-beam {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #000000;
    z-index: 15;
}

/* ====== FULLSCREEN 60FPS VFX CANVAS (DISABLED) ====== */
#chakriVfxCanvas {
    display: none !important;
    pointer-events: none;
}

/* ====== INBOUND SUPERSONIC FLYING CHAKRIS (DISABLED) ====== */
.flying-inbound-chakri {
    display: none !important;
    pointer-events: none;
}

/* ====== EMBEDDED STAGE (DISABLED) ====== */
.embedded-impact-stage {
    display: none !important;
    pointer-events: none;
}

/* Each Embedded Blade Unit sits directly at the bottom floor where the screen ends */
.embedded-strike-node {
    position: absolute;
    bottom: 0;
    transform: translate(-50%, 0);
    pointer-events: none;
    z-index: 30;
}

/* Clean razor-sharp slice incision at the bottom edge of the screen */
.border-blade-fissure {
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: #000000;
    z-index: 35;
}

/* The Upper Sticking-Out Half of the Blade (Bottom half cleanly buried beneath screen floor) */
.exposed-blade-wrap {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    pointer-events: none;
    z-index: 32;
    clip-path: polygon(-100% -100%, 200% -100%, 200% 50%, -100% 50%);
}

/* Crisp, raw, sharp metal blade */
.exposed-blade-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.55));
    transform-origin: center center;
}

/* Screen Trauma Micro-Rumble */
.screen-rumble {
    animation: traumaRumble 0.22s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes traumaRumble {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-4px, 5px); }
    50% { transform: translate(4px, -4px); }
    75% { transform: translate(-2px, 2px); }
    100% { transform: translate(0, 0); }
}

/* ========================================================
   CENTER CHAKRI TWIN-PRONG SPEECH CLOUD BUBBLE
   ======================================================== */
.chakri-speech-cloud-wrap {
    position: absolute;
    bottom: 52px; /* Sits right above the 45px exposed center chakri */
    left: 50%;
    transform: translateX(-50%) scale(0);
    z-index: 60;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: bottom center;
}

/* Sleek, Modern, Glassmorphic Cloud Bubble */
.chakri-speech-cloud-bubble {
    background: rgba(9, 12, 18, 0.95);
    border: 1.5px solid rgba(150, 243, 21, 0.7);
    border-radius: 24px;
    padding: 10px 18px;
    color: #ffffff;
    font-family: var(--font-body, 'Space Grotesk', sans-serif);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 20px rgba(150, 243, 21, 0.25);
    backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

/* Subtle organic cloud lobe bumps on top edge */
.chakri-speech-cloud-bubble::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 35px;
    width: 14px;
    height: 14px;
    background: rgba(9, 12, 18, 0.95);
    border-radius: 50%;
    border-top: 1.5px solid rgba(150, 243, 21, 0.7);
    border-left: 1.5px solid rgba(150, 243, 21, 0.7);
}

.chakri-speech-cloud-bubble::after {
    content: '';
    position: absolute;
    top: -8px;
    right: 42px;
    width: 18px;
    height: 18px;
    background: rgba(9, 12, 18, 0.95);
    border-radius: 50%;
    border-top: 1.5px solid rgba(150, 243, 21, 0.7);
    border-right: 1.5px solid rgba(150, 243, 21, 0.7);
}

.cloud-msg-text {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.cloud-spark-icon {
    font-size: 0.95rem;
    animation: cloudSparklePulse 1.4s infinite alternate;
}

@keyframes cloudSparklePulse {
    0% { filter: drop-shadow(0 0 2px #96f315); opacity: 0.8; }
    100% { filter: drop-shadow(0 0 8px #96f315); opacity: 1; }
}

/* Twin Connector Tails directly targeting the 2 sharp prongs of center chakri */
.cloud-twin-tails {
    width: 48px;
    height: 14px;
    position: relative;
    margin-top: -1px;
}

/* Left Prong Pointer (points to left sharp horn) */
.cloud-tail-left {
    position: absolute;
    left: 10px;
    top: 0;
    width: 2px;
    height: 12px;
    background: linear-gradient(to bottom, rgba(150, 243, 21, 0.9), #ff2a4a);
    transform: rotate(-18deg);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(150, 243, 21, 0.7);
}

/* Right Prong Pointer (points to right sharp horn) */
.cloud-tail-right {
    position: absolute;
    right: 10px;
    top: 0;
    width: 2px;
    height: 12px;
    background: linear-gradient(to bottom, rgba(150, 243, 21, 0.9), #ff2a4a);
    transform: rotate(18deg);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(150, 243, 21, 0.7);
}

/* Mobile Responsive Scaling */
@media (max-width: 768px) {
    .flying-inbound-chakri {
        width: 60px;
        height: 60px;
    }
    .exposed-blade-wrap {
        width: 60px;
        height: 60px;
        bottom: -30px;
    }
    .border-blade-fissure {
        width: 32px;
        height: 2.5px;
    }
    .chakri-speech-cloud-wrap {
        bottom: 38px;
    }
    .chakri-speech-cloud-bubble {
        font-size: 0.75rem;
        padding: 8px 14px;
        white-space: normal;
        max-width: 90vw;
    }
    .chakri-speech-cloud-bubble::before,
    .chakri-speech-cloud-bubble::after {
        display: none;
    }
}

/* High-Contrast Dark Cursor Mode for Neon Green Sections (Cyber Arsenal, Skills & Tools, Footer) - Desktop Only */
@media (hover: hover) and (pointer: fine) {
    .cursor-dot.dark-mode {
        display: block !important;
        width: 8px !important;
        height: 8px !important;
        margin-left: -4px !important;
        margin-top: -4px !important;
        background: #000000 !important;
        box-shadow: none !important;
        border: none !important;
        outline: none !important;
        opacity: 1 !important;
        mix-blend-mode: normal !important;
    }

    .cursor-ring.dark-mode {
        display: block !important;
        width: 40px !important;
        height: 40px !important;
        margin-left: -20px !important;
        margin-top: -20px !important;
        border: 1.5px solid #000000 !important;
        box-shadow: none !important;
        opacity: 0.8 !important;
        visibility: visible !important;
        pointer-events: none !important;
    }

    /* Hover state on green sections: Solid black dot remains firmly inside the black circle ring */
    .cursor-dot.dark-mode.hover {
        display: block !important;
        width: 10px !important;
        height: 10px !important;
        margin-left: -5px !important;
        margin-top: -5px !important;
        background: #000000 !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
    }

    .cursor-ring.dark-mode.hover {
        display: block !important;
        width: 46px !important;
        height: 46px !important;
        margin-left: -23px !important;
        margin-top: -23px !important;
        border: 2px solid #000000 !important;
        box-shadow: none !important;
        opacity: 0.85 !important;
        visibility: visible !important;
    }
}

.cursor-ring.canvas-mode {
    width: 44px !important;
    height: 44px !important;
    border-color: #000000 !important;
    border-width: 2px !important;
    background: rgba(0, 0, 0, 0.06) !important;
    opacity: 0.95 !important;
}

/* ====== PARTICLE CANVAS ====== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ====== TRANSITION EFFECTS ====== */
.pixel-transition {
    position: relative;
}

.pixel-transition::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom,
        var(--black) 0%,
        var(--black) 20%,
        transparent 20%,
        transparent 30%,
        var(--black) 30%,
        var(--black) 40%,
        transparent 40%,
        transparent 55%,
        var(--black) 55%,
        var(--black) 65%,
        transparent 65%,
        transparent 80%,
        var(--black) 80%,
        var(--black) 85%,
        transparent 85%
    );
    z-index: 10;
    pointer-events: none;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-left {
        order: 2;
    }

    .hero-right {
        order: 1;
    }

    .hero-subtitle {
        margin: 0 auto;
    }

    .hero-badge {
        display: inline-block;
    }

    .hero-photo-meta {
        display: none;
    }

    .hero-scroll-indicator {
        right: 30px;
    }

    .hero-coordinates {
        left: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .skills-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .contact-links {
        flex-direction: column;
        gap: 30px;
    }
}

/* ====== COMPREHENSIVE HIGH-END MOBILE RESPONSIVE SYSTEM (<= 768px) ====== */
@media (max-width: 768px) {
    /* Global Layout & Overflow Safety */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        position: relative !important;
    }

    * {
        box-sizing: border-box;
    }

    /* Completely Remove Custom Cursor on Touch/Mobile Screens */
    .cursor-dot,
    .cursor-ring,
    .cursor-chakri-img,
    .cursor-dot.dark-mode,
    .cursor-ring.dark-mode,
    .cursor-dot.hover,
    .cursor-ring.hover,
    .cursor-dot.chakri-strike,
    .cursor-ring.chakri-strike {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    body, a, button, body.cursor-active:not(.preloader-active),
    .nexar-btn, .nexar-row-item, .nexar-cyber-card, .project-card, .bento-card {
        cursor: auto !important;
    }

    a, button, [role="button"], #preloaderEnterBtn, .nav-menu-btn, .side-menu-close {
        cursor: pointer !important;
    }

    .grid-overlay {
        display: none !important;
    }

    /* F1 Scrollbar Track completely hidden on mobile */
    .f1-scrollbar-container {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }


    /* Mobile GPU Optimization: Disable heavy backdrop-filter blur on dark scrolling cards */
    .project-card,
    .bento-card,
    .side-menu-card,
    .trans-modal-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(7, 11, 16, 0.94) !important;
    }

    /* Skills & Tools Cyber Cards: Strictly Keep Iconic Acid Green Background & High-Contrast Symbols on Mobile */
    .nexar-cyber-card {
        background: #96f315 !important;
        border: 1.5px solid rgba(0, 0, 0, 0.35) !important;
    }

    .nexar-cyber-card .card-title-mono {
        color: #000000 !important;
    }

    .nexar-symbol-img {
        opacity: 1 !important;
        visibility: visible !important;
        filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.35)) !important;
    }

    /* Navigation on Mobile */
    .nav {
        padding: 0 16px !important;
        height: 60px !important;
    }

    .nav-emblem-anchor {
        left: 16px !important;
        height: 60px !important;
    }

    .nav-logo-symbol {
        width: 18px !important;
        height: 18px !important;
    }

    .nav-logo-spacer {
        width: 18px !important;
        height: 18px !important;
    }

    .nav-logo {
        font-size: 13.5px !important;
        gap: 6px !important;
    }

    .nav-meta {
        display: none !important;
    }

    .nav-menu-btn {
        padding: 6px 12px !important;
        font-size: 10px !important;
    }

    .side-menu-card {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        padding: 24px 20px !important;
    }

    /* ====== HERO FIRST SCREEN (CURTIS-STYLE AWARDS-WINNING MOBILE PRESENTATION) ====== */
    .hero {
        min-height: 100vh !important;
        min-height: 100dvh !important;
        height: auto !important;
        max-height: none !important;
        position: relative !important;
        overflow: visible !important;
        padding: 0 !important;
        display: flex !important;
        align-items: stretch !important;
        background: #000000 !important;
    }

    .hero-content {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    /* Curtis Style: Portrait photo shifted to the right, fading into darkness on left */
    .hero-right {
        order: unset !important;
        position: absolute !important;
        top: 0 !important;
        right: -25px !important;
        bottom: 0 !important;
        width: 85% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        z-index: 1 !important;
        pointer-events: none !important;
        margin: 0 !important;
    }

    .hero-photo-wrapper {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    .hero-photo-frame {
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        /* Mask image: Fades out completely to the left, revealing pure pitch black for text */
        -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.15) 20%, rgba(0,0,0,0.85) 55%, rgba(0,0,0,1) 100%) !important;
        mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.15) 20%, rgba(0,0,0,0.85) 55%, rgba(0,0,0,1) 100%) !important;
    }

    .hero-photo {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: 72% 28% !important;
        filter: contrast(1.15) brightness(0.92) !important;
        opacity: 0.92 !important;
    }

    .hero-glitch-layer {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: 72% 28% !important;
    }

    .hero-photo-slice {
        display: none !important;
    }

    .hero-photo-meta,
    .hero-cybernaut-wrapper {
        display: none !important;
    }

    /* Mobile Hero Layout: Elegantly distributed across the full screen height with lifted typography */
    .hero-left {
        order: unset !important;
        position: relative !important;
        z-index: 5 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        height: 100% !important;
        min-height: 100dvh !important;
        width: 100% !important;
        padding: 85px 22px clamp(75px, 12vh, 110px) 22px !important;
        box-sizing: border-box !important;
        text-align: left !important;
        pointer-events: auto !important;
    }

    /* 1. Intro text positioned up near the top under nav */
    .hero-intro {
        margin: 0 !important;
        max-width: 360px !important;
        text-align: left !important;
    }

    .hero-subtitle {
        font-family: var(--font-body) !important;
        font-size: 16px !important;
        line-height: 1.65 !important;
        color: #ffffff !important;
        text-align: left !important;
        margin: 0 !important;
        font-weight: 400 !important;
        text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 25px rgba(0, 0, 0, 0.95) !important;
    }

    .highlight-tag {
        font-size: 14px !important;
        padding: 3px 9px !important;
        font-weight: 700 !important;
    }

    .hero-subtitle-second {
        display: block !important;
        margin-top: 8px !important;
        font-size: 13.5px !important;
        color: rgba(255, 255, 255, 0.88) !important;
        line-height: 1.5 !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95) !important;
    }

    /* Web Guru Awards GOTD Badge - Mobile: Cleanly positioned between .hero-intro and .hero-badge */
    .web-guru-award-badge {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        margin: 16px 0 10px 0 !important;
        align-self: flex-start !important;
        display: block !important;
        transform: scale(0.92) !important;
        transform-origin: left center !important;
        z-index: 10 !important;
    }

    /* 2. Badges lifted higher up above HARSH with a distinct gap */
    .hero-badge {
        display: inline-flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin: auto 0 clamp(36px, 6vh, 54px) 0 !important;
    }

    /* Primary Neon Lime Pill Badge */
    .hero-badge .badge-text:first-child {
        background: #a3ff12 !important;
        color: #000000 !important;
        font-weight: 800 !important;
        padding: 6px 14px !important;
        border-radius: 2px !important;
        clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%) !important;
        font-size: 11.5px !important;
        letter-spacing: 0.18em !important;
        box-shadow: 0 0 16px rgba(163, 255, 18, 0.35) !important;
    }

    /* Secondary Dark Badge */
    .hero-badge .badge-text:last-child {
        background: rgba(0, 0, 0, 0.85) !important;
        color: rgba(255, 255, 255, 0.95) !important;
        border: 1px solid rgba(255, 255, 255, 0.35) !important;
        padding: 6px 13px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        letter-spacing: 0.15em !important;
    }

    /* 3. Massive HARSH sliced title with [ 01 // DEV ] positioned right above it */
    .hero-name {
        margin: 0 0 14px 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-name-tag {
        order: -1 !important;
        font-family: var(--font-mono) !important;
        font-size: 11.5px !important;
        color: #a3ff12 !important;
        background: rgba(0, 0, 0, 0.75) !important;
        border: 1px solid rgba(163, 255, 18, 0.4) !important;
        padding: 4px 10px !important;
        letter-spacing: 0.18em !important;
        font-weight: 700 !important;
        align-self: flex-start !important;
        margin-bottom: 6px !important;
        display: inline-block !important;
    }

    .hero-name-sliced {
        order: 1 !important;
        font-family: var(--font-heading) !important;
        font-size: clamp(58px, 17vw, 86px) !important;
        line-height: 0.9 !important;
        font-weight: 900 !important;
        color: #ffffff !important;
        letter-spacing: -0.02em !important;
        text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95), 0 0 15px rgba(0, 0, 0, 0.9) !important;
        text-align: left !important;
    }

    .hero-slice {
        letter-spacing: -0.01em !important;
    }

    /* 4. Subtitle positioned with maximum contrast */
    .hero-sub {
        font-family: var(--font-mono) !important;
        font-size: 11px !important;
        letter-spacing: 0.14em !important;
        color: #ffffff !important;
        text-transform: uppercase !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 7px !important;
        text-align: left !important;
        text-shadow: 0 1px 12px #000000, 0 0 20px #000000, 0 2px 4px #000000 !important;
    }

    .hero-sub-icon {
        font-size: 15px !important;
    }

    .hero-coordinates,
    .hero-scroll-indicator {
        display: none !important;
    }

    /* Extra safety for very short screens (height <= 600px) */
    @media (max-height: 600px) {
        .hero-left {
            padding: 70px 16px 16px !important;
            gap: 10px !important;
        }
        .hero-subtitle {
            font-size: 13.5px !important;
        }
        .hero-name-sliced {
            font-size: clamp(44px, 13vw, 60px) !important;
        }
    }

    /* ====== MANIFESTO / ABOUT SECTION ====== */
    .manifesto {
        padding: 50px 18px !important;
        min-height: auto !important;
    }

    .manifesto-about {
        padding: 40px 0 20px !important;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .about-label {
        position: static !important;
        font-size: 10.5px !important;
    }

    .about-text p {
        font-size: 13.5px !important;
        line-height: 1.6 !important;
    }

    .mword {
        font-size: clamp(19px, 5.6vw, 32px) !important;
    }

    /* ====== ARSENAL SECTION ====== */
    .nexar-grid-stage {
        padding: 48px 16px 56px !important;
        min-height: auto !important;
    }

    .nexar-section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        margin-bottom: 24px !important;
    }

    .nexar-grid-guides {
        display: none !important;
    }

    .nexar-cards-container {
        width: 100% !important;
        max-width: 100% !important;
        gap: 16px !important;
    }

    .nexar-three-cards {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .nexar-cyber-card {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 175px !important;
        box-sizing: border-box !important;
    }

    .nexar-bento-row-bottom {
        margin-top: 0 !important;
    }

    .nexar-bento-row-bottom .nexar-cyber-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    .card-art-box {
        height: 85px !important;
        margin: 10px 0 14px !important;
    }

    .nexar-symbol-kali { height: 60px !important; }
    .nexar-symbol-claude { height: 60px !important; width: 60px !important; }
    .nexar-symbol-auto { height: 55px !important; }
    .nexar-symbol-nmap { height: 55px !important; }

    .nexar-accents-row {
        flex-direction: column !important;
        align-items: center !important;
        gap: 14px !important;
        margin-top: 10px !important;
    }

    .nexar-awwwards-tag {
        display: none !important;
    }

    /* ====== SKILLS & TOOLS SECTION ====== */
    .skills-section {
        padding: 44px 18px 36px !important;
    }

    .skills-header {
        margin: 0 auto 20px !important;
    }

    .title-text {
        font-size: clamp(26px, 7.5vw, 38px) !important;
    }

    .section-subtitle {
        font-size: 11.5px !important;
    }

    .bento-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    .bento-card {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 18px 20px !important;
    }

    .bento-stat .stat-number {
        font-size: 38px !important;
    }

    .skills-list {
        grid-template-columns: 1fr !important;
        gap: 46px !important;
        margin-top: 18px !important;
        padding-top: 30px !important;
        border-top: 1.5px solid rgba(0, 0, 0, 0.2) !important;
    }

    .skill-category {
        padding-bottom: 34px !important;
        border-bottom: 1px dashed rgba(0, 0, 0, 0.22) !important;
    }

    .skill-category:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .skill-cat-title {
        font-family: var(--font-mono) !important;
        font-size: 13px !important;
        letter-spacing: 0.22em !important;
        font-weight: 800 !important;
        color: #000000 !important;
        margin-bottom: 16px !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .skill-cat-title::before {
        content: '//' !important;
        color: rgba(0, 0, 0, 0.5) !important;
        font-weight: 700 !important;
    }

    .skill-tags {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px 10px !important;
    }

    .skill-tag {
        font-family: var(--font-mono) !important;
        font-size: 11.5px !important;
        letter-spacing: 0.08em !important;
        font-weight: 600 !important;
        padding: 7px 13px !important;
        background: rgba(0, 0, 0, 0.08) !important;
        border: 1px solid rgba(0, 0, 0, 0.25) !important;
        color: #000000 !important;
        box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.18) !important;
        clip-path: polygon(
            0 0,
            calc(100% - 6px) 0,
            100% 6px,
            100% 100%,
            6px 100%,
            0 calc(100% - 6px)
        ) !important;
    }

    /* ====== PROJECTS SECTION ====== */
    .projects-section {
        padding: 48px 16px 56px !important;
    }

    .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        width: 100% !important;
    }

    .project-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
    }

    .project-media-frame {
        max-height: 220px !important;
    }

    .project-img {
        max-height: 220px !important;
        width: 100% !important;
        object-fit: contain !important;
    }

    .project-content {
        padding: 14px 14px 16px !important;
    }

    .project-title {
        font-size: 15px !important;
    }

    .project-desc {
        font-size: 11.5px !important;
    }

    .project-actions {
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .project-link-btn {
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    /* ====== FOOTER SECTION ====== */
    .nexar-footer-section {
        border-top: 1px solid rgba(0, 0, 0, 0.15) !important;
    }

    .nexar-footer-top {
        display: flex !important;
        flex-direction: column !important;
        padding: 40px 18px 30px !important;
        gap: 30px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .nexar-cta-left {
        padding-right: 0 !important;
        align-items: center !important;
        text-align: center !important;
    }

    .nexar-cta-heading {
        margin-bottom: 20px !important;
        align-items: center !important;
    }

    .cta-heading-line {
        font-size: clamp(30px, 8.5vw, 44px) !important;
        text-align: center !important;
    }

    .nexar-cta-buttons {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 320px !important;
        gap: 12px !important;
        align-items: stretch !important;
        margin: 0 auto !important;
    }

    .nexar-btn {
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        padding: 13px 20px !important;
        font-size: 11px !important;
    }

    .nexar-vertical-divider {
        display: none !important;
    }

    .nexar-links-right {
        padding-left: 0 !important;
        gap: 14px !important;
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }

    .nexar-link-row {
        grid-template-columns: 85px 1fr !important;
        gap: 12px !important;
        padding-bottom: 10px !important;
    }

    .nexar-row-tag {
        font-size: 10px !important;
    }

    .nexar-row-item {
        font-size: 12px !important;
        letter-spacing: 0.08em !important;
    }

    .nexar-bending-zone {
        height: 180px !important;
    }

    .footer-bottom {
        padding: 20px 18px !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
}

/* ====== UTILITY ANIMATIONS ====== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

/* Noise texture overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
}

/* ========================================================
   F1 KICK SAUBER HIGH-SPEED INTERACTIVE SCROLLBAR SYSTEM
   ======================================================== */
.f1-scrollbar-container {
    position: fixed;
    top: 0;
    right: 8px;
    width: 36px;
    height: 100vh;
    z-index: 9998;
    pointer-events: none;
    user-select: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Pit Straight Track Guide */
.f1-track-line {
    position: absolute;
    top: 24px;
    bottom: 24px;
    right: 17px;
    width: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    pointer-events: auto;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.f1-track-line:hover {
    background: rgba(143, 245, 24, 0.25);
    box-shadow: 0 0 10px rgba(143, 245, 24, 0.3);
}

.f1-track-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, #8ff518, #00f0ff);
    box-shadow: 0 0 10px rgba(143, 245, 24, 0.7);
    border-radius: 4px;
}

/* Red/White & Black/White FIA Kerbs */
.f1-track-kerb {
    position: absolute;
    width: 8px;
    height: 16px;
    left: -2.5px;
    border-radius: 2px;
    pointer-events: none;
}

.f1-kerb-top {
    top: 0;
    background: repeating-linear-gradient(to bottom, #ff1744 0px, #ff1744 3px, #ffffff 3px, #ffffff 6px);
    box-shadow: 0 0 8px rgba(255, 23, 68, 0.7);
}

.f1-kerb-bottom {
    bottom: 0;
    background: repeating-linear-gradient(to bottom, #ffffff 0px, #ffffff 3px, #000000 3px, #000000 6px);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* F1 Car Thumb & Dynamic Telemetry Wrapper - Sleek & Compact */
.f1-car-wrapper {
    position: absolute;
    top: 0;
    right: 2px;
    width: 32px;
    height: 88px;
    pointer-events: auto;
    cursor: grab;
    transform-origin: 50% 50%;
    will-change: transform;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: filter 0.2s ease;
}

.f1-car-wrapper:active {
    cursor: grabbing;
}

.f1-car-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 6px rgba(143, 245, 24, 0.45));
    transition: filter 0.25s ease;
}

.f1-car-wrapper:hover .f1-car-img {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.98)) drop-shadow(0 0 12px rgba(143, 245, 24, 0.85));
}

/* Turbo Exhaust Plume */
.f1-exhaust-plume {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 24px;
    background: radial-gradient(ellipse at top, rgba(143, 245, 24, 0.9) 0%, rgba(0, 240, 255, 0.6) 45%, transparent 80%);
    filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.2s ease;
}

.f1-exhaust-plume.active {
    opacity: 1;
}

/* Real-Time F1 Telemetry HUD */
.f1-telemetry-hud {
    position: absolute;
    right: 38px;
    top: 50%;
    transform: translateY(-50%) scale(0.92);
    background: rgba(8, 10, 14, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(143, 245, 24, 0.45);
    border-radius: 6px;
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 0 12px rgba(143, 245, 24, 0.25);
    white-space: nowrap;
}

.f1-telemetry-hud.active {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.telemetry-speed {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.telemetry-val {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 800;
    color: #8ff518;
    text-shadow: 0 0 10px rgba(143, 245, 24, 0.8);
    min-width: 26px;
    text-align: right;
}

.telemetry-unit {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
}

.telemetry-drs {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 800;
    color: #666666;
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 5px;
    border-radius: 2px;
    letter-spacing: 0.12em;
    transition: all 0.2s ease;
}

.telemetry-drs.drs-active {
    background: #8ff518;
    color: #000000;
    box-shadow: 0 0 8px #8ff518;
    font-weight: 900;
}

/* Responsive adjustment for small screens */
@media (max-width: 768px) {
    .f1-scrollbar-container {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* ====== IDEA 2: SYNESTHESIA EFFECT (SHOCKWAVE & SCANLINE TELEMETRY GLITCH) ====== */
#synesthesiaCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 99998;
}

#synesthesiaScanline {
    position: fixed;
    left: 0;
    width: 100vw;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 42, 74, 0.85), rgba(0, 240, 255, 0.95), rgba(170, 255, 0, 0.85), transparent);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.8), 0 0 20px rgba(255, 42, 74, 0.6);
    pointer-events: none;
    z-index: 99999;
    opacity: 0;
    transform: translateY(-100%);
}

/* Sub-millisecond ocular telemetry displacement on click */
body.synesthesia-active {
    filter: contrast(1.08) brightness(1.03);
}

body.synesthesia-active .hero-name,
body.synesthesia-active .section-title,
body.synesthesia-active .nexar-symbol-img,
body.synesthesia-active .nav-logo {
    text-shadow: -2px 0 rgba(255, 42, 74, 0.75), 2px 0 rgba(0, 240, 255, 0.75);
    transform: translate3d(0.5px, -0.5px, 0);
}

/* Hover Glitch Resonance on Cursor Ring (Tactical Diamond Target Lock) */
.cursor-ring.hover-glitch-lock {
    border-color: #ff2a4a !important;
    border-radius: 2px !important;
    transform: translate(-50%, -50%) rotate(45deg) scale(1.3) !important;
    box-shadow: 0 0 14px rgba(255, 42, 74, 0.85), inset 0 0 8px rgba(255, 42, 74, 0.6) !important;
    transition: transform 0.08s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.08s ease, border-radius 0.08s ease !important;
}

/* ====== IDEA 4: 3D HOLOGRAPHIC GYRO TILT & SPECULAR SHEEN ====== */
.nexar-cards-container,
.bento-grid {
    perspective: 1200px;
}

.has-gyro-tilt {
    transform-style: preserve-3d;
    will-change: transform;
    position: relative;
}

.has-gyro-tilt .card-inner,
.has-gyro-tilt .bento-card-inner {
    transform-style: preserve-3d;
    transform: translateZ(24px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.has-gyro-tilt .nexar-symbol-img,
.has-gyro-tilt .tool-icon,
.has-gyro-tilt .bento-stat .stat-number {
    transform: translateZ(38px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dynamic Holographic Specular Glare (Prismatic Chrome Sheen) */
.card-holo-glare {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 6;
    opacity: 0;
    mix-blend-mode: overlay;
    transition: opacity 0.35s ease;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.5) 0%, rgba(170, 255, 0, 0.25) 30%, rgba(255, 42, 74, 0.15) 55%, transparent 75%);
}

.has-gyro-tilt:hover .card-holo-glare {
    opacity: 0.95;
}

/* Tactical Military Corner Crosshairs */
.card-crosshair {
    position: absolute;
    width: 8px;
    height: 8px;
    pointer-events: none;
    z-index: 8;
    opacity: 0.35;
    transition: all 0.25s ease;
}

.has-gyro-tilt:hover .card-crosshair {
    opacity: 1;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.8));
}

.card-crosshair.ch-tl {
    top: 6px;
    left: 6px;
    border-top: 2px solid #000000;
    border-left: 2px solid #000000;
}

.card-crosshair.ch-tr {
    top: 6px;
    right: 6px;
    border-top: 2px solid #000000;
    border-right: 2px solid #000000;
}

.card-crosshair.ch-bl {
    bottom: 6px;
    left: 6px;
    border-bottom: 2px solid #000000;
    border-left: 2px solid #000000;
}

.card-crosshair.ch-br {
    bottom: 6px;
    right: 6px;
    border-bottom: 2px solid #000000;
    border-right: 2px solid #000000;
}

.nexar-cyber-card:hover .card-crosshair.ch-tl,
.nexar-cyber-card:hover .card-crosshair.ch-br {
    border-color: #ff2a4a;
}

.nexar-cyber-card:hover .card-crosshair.ch-tr,
.nexar-cyber-card:hover .card-crosshair.ch-bl {
    border-color: #000000;
}

.bento-card:hover .card-crosshair {
    border-color: #AAFF00;
}

/* ========================================================
   ANTI-GRAVITY SCROLL: ELASTIC TEXT CHAINS & JELLY PHYSICS
   ======================================================== */
.anti-gravity-chain-item {
    will-change: transform;
    transform-origin: center center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/* ========================================================
   IDEA 1: MAGNETIC GRAVITY BUTTONS & CARDS
   Buttons/Cards attract toward cursor within proximity zone
   ======================================================== */
.magnetic-target {
    will-change: transform;
    transition: transform 0.01s linear;
}

/* Subtle glow pulse when cursor is in magnetic proximity zone */
.magnetic-target.magnetic-active {
    filter: brightness(1.05);
}

/* Specific magnetic styles for different element types */
.nexar-btn.magnetic-active {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.nexar-cyber-card.magnetic-active {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.bento-card.magnetic-active {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.project-card.magnetic-active {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.project-link-btn.magnetic-active {
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.12);
}

/* ========================================================
   IDEA 2: SCRAMBLE TEXT DECODE REVEAL
   Headings decrypt from garbled characters on scroll
   ======================================================== */
.scramble-text {
    display: inline;
}

.scramble-text .scramble-char {
    display: inline-block;
    min-width: 0.1em;
    transition: color 0.08s ease;
}

/* Garbled state: monospace feel for the hacker decode aesthetic */
.scramble-text .scramble-char.scrambling {
    color: inherit;
    opacity: 0.7;
    font-family: var(--font-mono), 'Courier New', monospace;
}

/* Decoded state: original font restored with a micro fade-in */
.scramble-text .scramble-char.decoded {
    opacity: 1;
    font-family: inherit;
}

/* Initial hidden state before scroll triggers */
.scramble-text.scramble-waiting .scramble-char {
    opacity: 0;
}

/* Active scramble animation glow on letters currently being decoded */
.scramble-text .scramble-char.decode-flash {
    color: var(--neon-green);
    text-shadow: 0 0 8px var(--neon-green);
    transition: color 0.15s ease, text-shadow 0.15s ease;
}

/* On green sections, decode flash should be dark/purple */
.skills-section .scramble-char.decode-flash,
.nexar-grid-stage .scramble-char.decode-flash,
.nexar-footer-section .scramble-char.decode-flash {
    color: var(--purple);
    text-shadow: 0 0 8px var(--purple-light);
}

/* ========================================================
   CYBERPUNK DISCORD TRANSMISSION MODAL
   Direct Webhook Line with Telemetry & File/Selfie Attachment
   ======================================================== */
.transmission-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.transmission-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.transmission-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.transmission-card {
    position: relative;
    z-index: 2;
    width: 92%;
    max-width: 580px;
    max-height: 88vh;
    max-height: 88dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #0d0d11;
    border: 1.5px solid rgba(170, 255, 0, 0.4);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.95), 0 0 35px rgba(170, 255, 0, 0.15);
    transform: translateY(24px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.transmission-modal-overlay.is-open .transmission-card {
    transform: translateY(0) scale(1);
}

/* Modal Header */
.trans-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 20px;
    background: #121217;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.trans-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trans-status-dot {
    width: 8px;
    height: 8px;
    background: #AAFF00;
    border-radius: 50%;
    box-shadow: 0 0 10px #AAFF00, 0 0 20px #AAFF00;
    animation: nexarPulseDark 1.6s infinite;
}

.trans-status-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: #888;
    text-transform: uppercase;
}

.trans-close-btn {
    position: relative;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.trans-close-btn:hover {
    border-color: #ff2a4a;
    color: #ff2a4a;
    background: rgba(255, 42, 74, 0.1);
}

.trans-close-btn .close-symbol {
    font-size: 13px;
    line-height: 1;
}

/* Modal Form Container */
.trans-form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

/* Modal Scrollable Body */
.trans-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px 20px 14px;
    scrollbar-width: thin;
    scrollbar-color: #AAFF00 rgba(255, 255, 255, 0.05);
}

.trans-body::-webkit-scrollbar {
    width: 5px;
}

.trans-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
}

.trans-body::-webkit-scrollbar-thumb {
    background: #AAFF00;
    border-radius: 2px;
}

.trans-title-wrap {
    margin-bottom: 14px;
}

.trans-title {
    font-family: var(--font-heading);
    font-size: clamp(17px, 3.8vw, 21px);
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #ffffff;
    margin-bottom: 4px;
}

.trans-subtitle {
    font-family: var(--font-body);
    font-size: 12.5px;
    color: #888;
    line-height: 1.45;
}

.trans-field-group {
    margin-bottom: 13px;
}

.trans-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: #aaa;
    margin-bottom: 5px;
    font-weight: 700;
    text-transform: uppercase;
}

.trans-label .label-idx {
    color: #AAFF00;
    margin-right: 4px;
}

.required-star {
    color: #ff2a4a;
    margin-left: 2px;
}

.trans-opt-tag {
    color: #777;
    font-size: 8.5px;
    font-weight: 500;
    letter-spacing: 0.06em;
    margin-left: 3px;
}

.trans-input-box {
    position: relative;
    width: 100%;
}

.trans-input,
.trans-textarea {
    width: 100%;
    background: #141419;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 13px;
    padding: 10px 13px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.25s ease;
    border-radius: 0;
}

.trans-input:focus,
.trans-textarea:focus {
    border-color: #AAFF00;
    background: #191921;
    box-shadow: 0 0 16px rgba(170, 255, 0, 0.2);
}

.trans-textarea {
    resize: vertical;
    min-height: 72px;
    line-height: 1.5;
}

.input-corner {
    position: absolute;
    width: 5px;
    height: 5px;
    pointer-events: none;
}

.input-corner.tl {
    top: -1px;
    left: -1px;
    border-top: 2px solid #AAFF00;
    border-left: 2px solid #AAFF00;
}

.input-corner.br {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid #AAFF00;
    border-right: 2px solid #AAFF00;
}

/* Optional Attachment Note */
.trans-opt-note {
    font-family: var(--font-body);
    font-size: 11px;
    color: #888;
    line-height: 1.45;
    margin: 3px 0 8px 0;
}

.trans-opt-note em {
    color: #bbb;
    font-style: normal;
}

/* Choice Buttons (Auto-Selfie vs File Upload) */
.trans-attach-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: relative;
    margin-bottom: 6px;
}

.trans-choice-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    background: #141419;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
    text-align: center;
    border-radius: 0;
}

.trans-choice-btn:hover {
    border-color: #AAFF00;
    background: rgba(170, 255, 0, 0.08);
    color: #AAFF00;
    box-shadow: 0 0 12px rgba(170, 255, 0, 0.2);
}

.trans-choice-btn.btn-selfie {
    border-color: rgba(170, 255, 0, 0.4);
    background: rgba(170, 255, 0, 0.04);
}

.trans-choice-btn .choice-icon {
    font-size: 14px;
}

.trans-hidden-file-input {
    display: none !important;
}

/* Attached Preview Card */
.trans-preview-card {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #141419;
    border: 1px solid #AAFF00;
    padding: 7px 10px;
    box-shadow: 0 0 15px rgba(170, 255, 0, 0.15);
    gap: 10px;
}

.trans-preview-thumb-wrap {
    width: 38px;
    height: 38px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    flex-shrink: 0;
}

.trans-preview-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trans-preview-meta {
    flex-grow: 1;
    overflow: hidden;
}

.trans-preview-name {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-preview-status {
    font-family: var(--font-mono);
    font-size: 9px;
    color: #AAFF00;
    letter-spacing: 0.08em;
    display: block;
    margin-top: 1px;
}

.trans-preview-remove {
    background: rgba(255, 42, 74, 0.15);
    border: 1px solid #ff2a4a;
    color: #ff2a4a;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 8px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.trans-preview-remove:hover {
    background: #ff2a4a;
    color: #ffffff;
}

/* Sticky Bottom Action & Feedback Bar */
.trans-sticky-bottom {
    flex-shrink: 0;
    background: #0a0a0d;
    border-top: 1px solid rgba(170, 255, 0, 0.25);
    padding: 10px 20px 12px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 10;
}

/* Feedback & Status */
.trans-feedback-bar {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    min-height: 18px;
    margin-bottom: 8px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
}

.trans-feedback-bar.is-error {
    color: #ff2a4a;
    text-shadow: 0 0 10px rgba(255, 42, 74, 0.6);
}

.trans-feedback-bar.is-success {
    color: #AAFF00;
    text-shadow: 0 0 12px rgba(170, 255, 0, 0.7);
}

.trans-feedback-bar.is-transmitting {
    color: #00F0FF;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

/* Submit Button */
.trans-actions {
    margin: 0;
    width: 100%;
}

.trans-submit-btn {
    width: 100%;
    padding: 13px 18px;
    background: #AAFF00;
    color: #000000;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 20px rgba(170, 255, 0, 0.35);
}

.trans-submit-btn:hover:not(:disabled) {
    background: #000000;
    color: #AAFF00;
    box-shadow: 0 0 25px rgba(170, 255, 0, 0.6), inset 0 0 0 1.5px #AAFF00;
    transform: translateY(-2px);
}

.trans-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    filter: grayscale(0.5);
}

/* Modal Footer */
.trans-footer {
    padding: 7px 0 0 0;
    background: transparent;
    border-top: none;
    text-align: center;
}

.trans-footer-info {
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: 0.12em;
    color: #666;
    text-transform: uppercase;
}

/* Mobile modal adjustments */
@media (max-width: 768px) {
    .transmission-card {
        width: 95% !important;
        max-height: 94vh !important;
        max-height: 94dvh !important;
    }
    .trans-body {
        padding: 14px 14px 10px !important;
    }
    .trans-header {
        padding: 10px 14px !important;
    }
    .trans-sticky-bottom {
        padding: 8px 14px 10px !important;
    }
    .trans-title {
        font-size: 16px !important;
    }
    .trans-input,
    .trans-textarea {
        font-size: 12.5px !important;
        padding: 8px 10px !important;
    }
    .trans-textarea {
        min-height: 60px !important;
    }
    .trans-submit-btn {
        padding: 11px 14px !important;
        font-size: 11.5px !important;
    }
}


