/* ============================================
   PORTFOLIO DASHBOARD - MAIN STYLES
   Light Theme | Glassmorphism | Neon Accents
   ============================================ */

/* CSS Custom Properties - Dark Theme */
:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #1a1a2e;
  --bg-card: #1e293b;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #7f8fa8;
  --text-light: #ffffff;
  /* Pixel Accent Colors */
  --accent-cyan: #00f0ff;
  --accent-purple: #b026ff;
  --accent-pink: #ff00a0;
  --accent-green: #39ff14;
  --accent-orange: #ffb000;
  --accent-red: #ff3333;
  /* Glow Effects */
  --glow-pink: 0 0 10px rgba(255, 0, 160, 0.4);
  --glow-cyan: 0 0 10px rgba(0, 240, 255, 0.4);
  --glow-purple: 0 0 10px rgba(176, 38, 255, 0.4);
  /* Pixel styling overrides Glassmorphism */
  --glass-bg: #1e293b;
  --glass-border: var(--text-primary);
  --glass-shadow: 4px 4px 0 rgba(0,0,0,0.8);
  --glass-blur: none;
  --gradient-primary: var(--accent-cyan);
  --gradient-cyan: var(--accent-cyan);
  --gradient-purple: var(--accent-purple);
  --gradient-pink: var(--accent-pink);
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Press Start 2P', cursive;
  --font-mono: 'Pixelify Sans', cursive;
  --section-padding: clamp(60px, 10vw, 120px);
  --container-max: 1440px;
  --container-padding: 24px;
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --pixel-border: 4px solid var(--text-primary);
  --pixel-shadow: 6px 6px 0px rgba(0, 0, 0, 0.8);
  --pixel-shadow-hover: 2px 2px 0px rgba(0, 0, 0, 0.8);
}

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { 
  scroll-behavior: smooth; 
  font-size: 16px; 
}

/* Custom Scrollbar - Webkit (Safari/Legacy Chrome)
   Note: Modern Chrome (121+) will use this if scrollbar-color is NOT 
   defined on the same element, allowing for our gradient thumb. */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.103);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
/* Refined scrollbar for premium look */
::-webkit-scrollbar-thumb {
  background: linear-gradient(
    135deg,
    #ff9eaa 0%,   /* soft pink */
    #ffc1cc 35%,  /* pastel pink */
    #d8b4fe 70%,  /* soft lavender */
    #c084fc 100%  /* light neon purple */
  );
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(255, 158, 170, 0.5), 0 0 10px rgba(192, 132, 252, 0.4), inset 0 0 4px rgba(255, 255, 255, 0.3);
}

::-webkit-scrollbar-thumb:hover {
  box-shadow: 0 0 8px rgba(255, 158, 170, 0.7), 0 0 14px rgba(192, 132, 252, 0.6);
  filter: brightness(1.05);
}

body { 
  font-family: var(--font-primary); 
  background-color: var(--bg-primary); 
  background-image: radial-gradient(var(--bg-secondary) 2px, transparent 2px);
  background-size: 8px 8px;
  color: var(--text-primary); 
  line-height: 1.8; 
  overflow-x: hidden; 
  min-height: 100vh; 
}

h1, h2, h3, h4, h5, h6, .btn, .level-tag, .terminal-body, .skill-level {
  -webkit-font-smoothing: antialiased;
}

/* Avoid browser text-size adjustments that can break designed type scaling */
/* (intentionally left blank) */

/* Mobile-first typography baseline */
:root {
  font-size: clamp(14px, 1.2vw, 16px);
}

/* Better overflow handling for any absolutely/fixed-positioned visuals */
body, #particle-canvas, .custom-cursor, .ghost-print, .puff-particle, .loading-screen {
  max-width: 100%;
}

body:has(#custom-cursor) { cursor: none; }
body:has(#custom-cursor) a, 
body:has(#custom-cursor) button, 
body:has(#custom-cursor) .btn,
body:has(#custom-cursor) .contact-item,
body:has(#custom-cursor) .mission-card,
body:has(#custom-cursor) .gallery-card,
body:has(#custom-cursor) .card-inner,
body:has(#custom-cursor) .ctrl-btn,
body:has(#custom-cursor) .copy-btn { 
  cursor: none !important; 
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Particle Canvas - subtle background texture */
.particle-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* Main Content */
.main-content { position: relative; z-index: 1; }

/* ============================================
   LOADING SCREEN
   ============================================ */
.loading-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-primary); display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.5s ease, visibility 0.5s ease; }
.loading-screen.hidden { opacity: 0; visibility: hidden; }
.loading-container { text-align: center; }
.loading-logo { display: flex; justify-content: center; align-items: center; margin-bottom: 2rem; }
.loading-logo img { height: 60px; /* same as navbar logo */ width: auto; display: block; }
.loading-logo .logo-bracket { color: var(--accent-cyan); }
.loading-logo .logo-text { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.loading-bar-container { width: 200px; height: 4px; background: var(--bg-secondary); border-radius: 2px; margin: 0 auto 1rem; overflow: hidden; }
.loading-bar { height: 100%; width: 0%; background: var(--gradient-cyan); border-radius: 2px; animation: loadingProgress 2s ease forwards; }
@keyframes loadingProgress { 0% { width: 0%; } 50% { width: 70%; } 100% { width: 100%; } }
.loading-text { font-family: var(--font-mono); color: var(--text-muted); font-size: 0.9rem; animation: pulse 1.5s ease infinite; }

/* Navigation - Refined padding for elegance */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 1rem 0; transition: all var(--transition-normal); }
.navbar.scrolled { background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-bottom: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); }

.nav-container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-padding); display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 2px; }
.nav-logo .logo-bracket { color: var(--accent-cyan); }
.nav-logo .logo-text { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-menu { display: flex; gap: 0.5rem; }
.nav-link { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem; color: var(--text-secondary); font-family: var(--font-display); text-transform: uppercase; font-size: 0.7rem; font-weight: 500; border-radius: var(--radius-sm); transition: all var(--transition-fast); }
.nav-link:hover, .nav-link.active { color: var(--accent-cyan); background: rgba(34, 211, 238, 0.1); }
.nav-link i { font-size: 0.85rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.nav-toggle .bar { width: 25px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all var(--transition-fast); }

/* Mobile Nav Transformation */

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag { display: inline-block; font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 3px; color: var(--accent-cyan); background: rgba(124, 240, 255, 0.1); padding: 0.4rem 1rem; border-radius: 20px; margin-bottom: 1rem; border: 1px solid rgba(124, 240, 255, 0.2); animation: sectionTagFloat 3s ease-in-out infinite; }
@keyframes sectionTagFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 700; color: var(--text-primary); margin-bottom: 1rem; }
.section-line { width: 60px; height: 4px; background: var(--gradient-cyan); border-radius: 2px; margin: 0 auto; }

/* Hero Section - Balanced Hierarchy */
.hero-section { min-height: 100vh; display: flex; align-items: center; padding: 120px var(--container-padding) var(--section-padding); position: relative; }
.hero-container { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3.2vw, 4rem); align-items: center; width: 100%; }

/* Base Hero Styles (Desktop) */
.hero-description { font-size: clamp(0.95rem, 2.1vw, 1.15rem); color: var(--text-secondary); max-width: 55ch; margin: 0 0 2.5rem 0; line-height: 1.8; font-weight: 300; }
.hero-stats { display: flex; gap: clamp(1.2rem, 2.8vw, 2.5rem); margin-bottom: 2.5rem; justify-content: flex-start; }
.stat-item { display: flex; flex-direction: column; align-items: flex-start; }

.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); border-radius: 20px; color: var(--accent-green); font-size: clamp(0.78rem, 1.2vw, 0.95rem); font-weight: 500; margin-bottom: 1.5rem; }
.hero-title { margin-bottom: 1rem; }
.hero-title .greeting { display: block; font-size: clamp(1rem, 2.2vw, 1.2rem); color: var(--text-muted); font-weight: 400; margin-bottom: 0.5rem; }
.hero-title .name { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.5rem); font-weight: 700; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.15; }
.hero-role { 
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  line-height: 1.35;
}

/* Ensure the typing line wraps predictably on small screens */
.hero-role .role-prefix,
.hero-role .typing-text,
.hero-role .typing-cursor {
  white-space: nowrap;
}

.role-prefix { color: var(--text-muted); font-weight: 400; }
.typing-text { font-family: var(--font-mono); color: var(--accent-cyan); font-weight: 600; min-width: 0; }
.typing-cursor { color: var(--accent-cyan); animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-stats { display: flex; gap: clamp(1.2rem, 2.8vw, 2.5rem); margin-bottom: 2.5rem; justify-content: flex-start; }

.stat-item { display: flex; flex-direction: column; }
.stat-number { font-family: var(--font-display); font-size: clamp(1.6rem, 4.2vw, 2rem); font-weight: 700; color: var(--accent-purple); line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.8rem; border-radius: 0; font-size: 0.75rem; font-weight: 600; transition: all 0.1s; cursor: pointer; border: 4px solid #fff; box-shadow: inset -4px -4px 0px rgba(0,0,0,0.3), var(--pixel-shadow); font-family: var(--font-display); line-height: 1.2; text-transform: uppercase; }

.btn-primary { background: var(--accent-cyan); color: #000; }
.btn-primary:hover { filter: brightness(1.1); transform: translate(-2px, -2px); box-shadow: inset -4px -4px 0px rgba(0,0,0,0.3), 8px 8px 0px rgba(0,0,0,0.8); }
.btn-primary:active { transform: translate(4px, 4px); box-shadow: inset 4px 4px 0px rgba(0,0,0,0.3), 0px 0px 0px rgba(0,0,0,0.8); }

.btn-secondary { background: var(--bg-secondary); color: var(--text-primary); border-color: var(--text-primary); }
.btn-secondary:hover { background: var(--text-primary); color: var(--bg-secondary); transform: translate(-2px, -2px); box-shadow: inset -4px -4px 0px rgba(0,0,0,0.3), 8px 8px 0px rgba(0,0,0,0.8); }
.btn-secondary:active { transform: translate(4px, 4px); box-shadow: inset 4px 4px 0px rgba(0,0,0,0.3), 0px 0px 0px rgba(0,0,0,0.8); }

/* Profile Card */
.hero-visual { display: flex; justify-content: center; position: relative; }
.profile-card-3d { background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.1rem, 2.6vw, 2rem); box-shadow: var(--glass-shadow); text-align: center; max-width: 320px; width: min(90%, 320px); transition: transform var(--transition-normal); position: relative; }

.profile-rank-badge { position: absolute; top: 15px; left: 15px; background: rgba(30, 41, 59, 0.8); border: 1px solid rgba(255, 158, 170, 0.4); border-radius: var(--radius-sm); padding: 0.4rem 0.8rem; display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; color: var(--accent-pink); z-index: 10; box-shadow: 0 4px 15px rgba(255, 158, 170, 0.2); }
.profile-rank-badge i { color: #f59e0b; }

.profile-image-container { 
  position: relative; 
  width: clamp(110px, 18vw, 150px); 
  height: clamp(110px, 18vw, 150px); 
  margin: 0 auto 1.5rem; 
  animation: avatarFloat 4s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes avatarFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.profile-glow { position: absolute; top: -10px; left: -10px; right: -10px; bottom: -10px; background: var(--gradient-pink); border-radius: 50%; opacity: 0.4; filter: blur(25px); animation: pulse 3s ease infinite; pointer-events: none; }

/* Energy Wave Effect */
.energy-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--accent-pink);
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  pointer-events: none;
  animation: energyWave 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes energyWave {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
  50% { opacity: 0.3; }
  100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

/* Subtle Particles */
.profile-particles .p-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 50%;
  filter: blur(1px);
  box-shadow: 0 0 5px var(--accent-cyan);
  animation: particleFloat 3s ease-in-out infinite;
  opacity: 0.6;
}

.p-dot:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.p-dot:nth-child(2) { top: 80%; left: 10%; animation-delay: 0.5s; }
.p-dot:nth-child(3) { top: 30%; right: 10%; animation-delay: 1s; }
.p-dot:nth-child(4) { bottom: 20%; right: 20%; animation-delay: 1.5s; }

@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0); opacity: 0.4; }
  50% { transform: translate(5px, -15px); opacity: 0.8; }
}

.orbital-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; }
.ring-1 { width: 185px; height: 185px; border: 1px dashed rgba(255, 158, 170, 0.4); animation: rotate 15s linear infinite; }
.ring-1::after { content: ''; position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; background: var(--accent-pink); border-radius: 50%; box-shadow: 0 0 10px var(--accent-pink); }
.ring-2 { width: 210px; height: 210px; border: 1px solid rgba(255, 158, 170, 0.1); animation: rotate 25s linear infinite reverse; }
@keyframes rotate { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

.profile-image { 
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  border-radius: 50%; 
  border: 3px solid rgba(255, 158, 170, 0.6); 
  position: relative; 
  z-index: 1; 
  box-shadow: 0 0 20px rgba(255, 158, 170, 0.4), inset 0 0 15px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  image-rendering: auto; /* Ensures smooth rendering for 3D textures */
}
.profile-card-3d:hover .profile-image { transform: scale(1.05); box-shadow: 0 0 30px rgba(255, 158, 170, 0.6); }
.profile-card-3d:hover .energy-wave { animation-duration: 2s; }
.profile-level { 
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 100%;

    background: rgba(184, 146, 250, 0.292); 
    -webkit-backdrop-filter: blur(8px); 
    backdrop-filter: blur(8px); 
    color: white; 
    padding: 0.3rem 0.8rem; 
    border-radius: 20px; 
    font-size: 0.75rem; 
    font-weight: 700; 
    display: flex; 
    align-items: center; 
    gap: 0.3rem; 
    z-index: 2; 
    border: 1px solid rgba(179, 136, 255, 0.4);
    box-shadow: 0 4px 15px rgba(179, 136, 255, 0.2), inset 0 0 10px rgba(179, 136, 255, 0.2);
    transition: all var(--transition-normal);
}
.profile-level:hover { 
    background: rgba(179, 136, 255, 0.3); 
    box-shadow: 0 4px 20px rgba(179, 136, 255, 0.4), inset 0 0 12px rgba(179, 136, 255, 0.3);
    transform: translateY(-2px);
}
.profile-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--text-primary); }
.profile-class { color: #B5B5B5; margin-bottom: 1rem; }
.xp-bar { height: 8px; background: var(--bg-secondary); border-radius: 4px; overflow: hidden; margin-bottom: 0.5rem; }
.xp-fill { height: 100%; background: var(--gradient-cyan); border-radius: 4px; width: 0; transition: width 1s ease; }
.xp-fill-75 { width: 75%; }
.xp-text { font-size: 0.75rem; color: #B5B5B5; font-family: var(--font-mono); }

/* Floating Badges */
.floating-badges { position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; }
.float-badge { position: absolute; width: clamp(28px, 6vw, 45px); height: clamp(28px, 6vw, 45px); background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: clamp(0.9rem, 2.2vw, 1.3rem); box-shadow: var(--glass-shadow); animation: float 2.4s ease-in-out infinite; animation-delay: var(--delay); }

.float-badge:nth-child(1) { top: 10%; right: 10%; color: #e34c26; }
.float-badge:nth-child(2) { top: 30%; left: 5%; color: #264de4; }
.float-badge:nth-child(3) { bottom: 30%; right: 5%; color: #f0db4f; }
.float-badge:nth-child(4) { bottom: 10%; left: 15%; color: #61dafb; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.6; } }

/* Scroll Indicator */
.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--text-muted); font-size: 0.8rem; }
.mouse { width: 24px; height: 40px; border: 2px solid var(--text-muted); border-radius: 12px; position: relative; }
.wheel { width: 4px; height: 8px; background: var(--text-muted); border-radius: 2px; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); animation: scrollWheel 1.5s ease infinite; }
@keyframes scrollWheel { 0% { opacity: 1; transform: translateX(-50%) translateY(0); } 100% { opacity: 0; transform: translateX(-50%) translateY(12px); } }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section { padding: var(--section-padding) var(--container-padding); max-width: var(--container-max); margin: 0 auto; }
.about-container { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; }

.dashboard-card { background: var(--glass-bg); border: var(--pixel-border); border-radius: 0; box-shadow: inset -4px -4px 0px rgba(0,0,0,0.3), var(--pixel-shadow); overflow: hidden; }

.card-header { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; border-bottom: 1px solid var(--glass-border); }
.card-icon { 
  width: 45px; height: 45px; 
  background: rgba(124, 240, 255, 0.15); 
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(124, 240, 255, 0.3);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; 
  color: var(--accent-cyan); font-size: 1.1rem; 
  box-shadow: 0 4px 15px rgba(124, 240, 255, 0.1);
}
.card-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; flex: 1; }
.card-status { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 500; padding: 0.3rem 0.8rem; border-radius: 20px; }
.card-status.online { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); border: 1px solid rgba(16, 185, 129, 0.3); }
.status-dot { width: 8px; height: 8px; background: var(--accent-green); border-radius: 50%; box-shadow: 0 0 8px var(--accent-green); animation: pulse 2s ease infinite; }
.card-body { padding: 1.5rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.about-item { display: flex; flex-direction: column; padding: 0.8rem; background: rgba(255, 158, 170, 0.08); border-radius: var(--radius-sm); border: 1px solid rgba(255, 158, 170, 0.15); }
.about-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.25rem; }
.about-value { font-weight: 600; color: var(--text-primary); font-size: 0.95rem; }
.about-value.highlight { color: var(--accent-orange); }
.about-bio { margin-bottom: 1.5rem; }
.about-bio p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 0.75rem; }
.about-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }
.badge-gold { background: rgba(245, 158, 11, 0.1); color: var(--accent-orange); border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-purple { background: rgba(168, 85, 247, 0.1); color: var(--accent-purple); border: 1px solid rgba(168, 85, 247, 0.3); }
.badge-cyan { background: rgba(124, 240, 255, 0.1); color: #0891b2; border: 1px solid rgba(124, 240, 255, 0.3); }
.badge-green { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); border: 1px solid rgba(16, 185, 129, 0.3); }

/* Education Timeline */
.edu-timeline { padding: 1.5rem; }
.edu-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; position: relative; }
.edu-item:last-child { margin-bottom: 0; }
.edu-marker { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.85rem; }
.edu-marker.completed { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); border: 2px solid var(--accent-green); }
.edu-marker:not(.completed) { background: rgba(124, 240, 255, 0.1); color: var(--accent-cyan); border: 2px solid var(--accent-cyan); animation: pulse 2s ease infinite; }
.edu-content h4 { font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.3rem; }
.edu-content p { font-size: 0.9rem; color: #B5B5B5; margin-bottom: 0.75rem; }
.edu-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { padding: 0.3rem 0.7rem; background: rgba(255, 158, 170, 0.1); border-radius: 15px; font-size: 0.75rem; color: var(--text-secondary); border: 1px solid rgba(255, 158, 170, 0.2); }

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills-section { padding: var(--section-padding) var(--container-padding); max-width: var(--container-max); margin: 0 auto; }
.skills-container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }

.category-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2rem; }
.category-header i { font-size: 1.3rem; color: var(--accent-cyan); }
.category-header h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.skills-grid { display: flex; flex-direction: column; gap: 1.25rem; }
.skill-item { background: rgba(255, 158, 170, 0.08); padding: 1rem 1.25rem; border-radius: 0; border: var(--pixel-border); box-shadow: inset -4px -4px 0px rgba(0,0,0,0.3), var(--pixel-shadow); transition: all var(--transition-fast); }
.skill-item:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.8); }
.skill-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.skill-name { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.95rem; }
.skill-name i { font-size: 1.1rem; }
.skill-level { font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent-cyan); font-weight: 600; }
.skill-bar { height: 8px; background: var(--bg-secondary); border-radius: 4px; overflow: hidden; }
.skill-fill { height: 100%; background: var(--gradient-cyan); border-radius: 4px; width: 0; transition: width 1.5s ease; }
.skill-item.in-view .skill-fill { width: var(--skill-percent); }

/* Soft Skills */
.soft-skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.soft-skill-card { background: rgba(255, 158, 170, 0.08); padding: 1.5rem; border-radius: 0; border: var(--pixel-border); box-shadow: inset -4px -4px 0px rgba(0,0,0,0.3), var(--pixel-shadow); text-align: center; transition: all var(--transition-fast); }
.soft-skill-card:hover { transform: translate(-4px, -4px); box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.8); }
.soft-skill-icon { width: 50px; height: 50px; background: var(--gradient-purple); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: white; font-size: 1.2rem; }
.soft-skill-card h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--text-primary); }
.soft-skill-bar { height: 6px; background: var(--bg-secondary); border-radius: 3px; overflow: hidden; }
.soft-skill-fill { height: 100%; background: var(--gradient-purple); border-radius: 3px; width: 0; transition: width 1.5s ease; }
.soft-skill-card.in-view .soft-skill-fill { width: var(--skill-percent); }

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-section { 
    padding: var(--section-padding) var(--container-padding); 
    max-width: var(--container-max); 
    margin: 0 auto; 
}

.projects-container { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: clamp(2rem, 5vw, 3.5rem); 
    max-width: 1200px; 
    margin: 0 auto;
}

.mission-card { 
    background: var(--glass-bg); 
    border: var(--pixel-border); 
    border-radius: 0; 
    overflow: hidden; 
    box-shadow: inset -4px -4px 0px rgba(0,0,0,0.3), var(--pixel-shadow); 
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mission-card:hover { transform: translate(-4px, -4px); box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.8); }
.mission-header { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem; border-bottom: 1px solid var(--glass-border); background: rgba(255, 158, 170, 0.1); }
.mission-level { display: flex; align-items: center; gap: 0.75rem; }
.level-tag { 
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; padding: 0.3rem 0.7rem; 
  background: rgba(124, 240, 255, 0.15); 
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--accent-cyan); 
  border: 1px solid rgba(124, 240, 255, 0.3);
  border-radius: 4px; 
  box-shadow: 0 4px 12px rgba(124, 240, 255, 0.15);
  text-shadow: 0 0 8px rgba(124, 240, 255, 0.4);
}
.difficulty { color: var(--accent-orange); font-size: 0.75rem; }
.mission-status { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 600; color: var(--accent-green); }
.mission-status.completed i { font-size: 1rem; }
.mission-image { 
  position: relative; 
  height: clamp(160px, 24vw, 220px); 
  overflow: hidden; 
  background: var(--bg-secondary); /* Placeholder color while image loads */ 
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-image img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  object-position: center; 
  transition: transform var(--transition-normal); 
}
.mission-card:hover .mission-image img { transform: scale(1.05); }
.mission-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--transition-normal); }
.mission-card:hover .mission-overlay { opacity: 1; }
.view-btn { 
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.6rem; 
    background: rgba(255, 158, 170, 0.15); 
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    color: #ffffff; 
    border: 1px solid rgba(255, 158, 170, 0.4);
    border-radius: var(--radius-md); 
    font-size: 0.95rem; 
    font-weight: 700; 
    cursor: pointer; 
    box-shadow: 0 0 15px rgba(255, 158, 170, 0.2);
    transition: all var(--transition-normal);
}
.view-btn i { color: #ffffff; transition: inherit; }
.view-btn:hover { 
    transform: scale(1.05); 
    background: rgba(255, 158, 170, 0.3);
    border-color: var(--accent-pink);
    box-shadow: 0 0 25px rgba(255, 158, 170, 0.5);
}
.mission-body { 
    padding: clamp(1.5rem, 3vw, 2.2rem); 
    display: flex;
    flex-direction: column;
    flex: 1;
}
.mission-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--text-primary); }
.mission-desc { 
    font-size: 0.9rem; 
    color: var(--text-secondary); 
    line-height: 1.6; 
    margin-bottom: 1.5rem; 
    flex: 1; /* Pushes content below down to align bottom sections */
}
.mission-tech { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.tech-tag { padding: 0.3rem 0.7rem; background: rgba(124, 240, 255, 0.1); color: var(--accent-cyan); border-radius: 15px; font-size: 0.75rem; font-weight: 500; }
.mission-features { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.feature { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-secondary); }
.feature i { color: var(--accent-green); font-size: 0.75rem; }
.mission-actions { 
    margin-top: auto; 
    padding-top: 1rem;
}
.btn-mission { width: 100%; justify-content: center; background: rgba(124, 240, 255, 0.1); color: var(--accent-cyan); border: 1px solid rgba(124, 240, 255, 0.3); padding: 0.75rem; }
.btn-mission:hover { background: var(--gradient-cyan); color: white; border-color: transparent; transform: translateY(-2px); box-shadow: var(--glow-cyan); }

/* ============================================
   INTERNSHIP SECTION
   ============================================ */
.internship-section { padding: var(--section-padding) var(--container-padding); max-width: var(--container-max); margin: 0 auto; }
.internship-container { max-width: 900px; margin: 0 auto; }
.internship-card { background: var(--glass-bg); border: var(--pixel-border); border-radius: 0; overflow: hidden; box-shadow: var(--pixel-shadow); }

.internship-header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; border-bottom: 1px solid var(--glass-border); background: rgba(255, 158, 170, 0.1); gap: 1rem; }
.company-info { display: flex; align-items: center; gap: 1rem; }
.company-logo { 
  width: 50px; height: 50px; flex-shrink: 0;
  background: rgba(34, 211, 238, 0.15); 
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(124, 240, 255, 0.3);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; 
  color: var(--accent-cyan); font-size: 1.5rem; 
  box-shadow: 0 8px 20px rgba(124, 240, 255, 0.15);
}
.company-details h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--text-primary); }
.company-details p { font-size: 0.85rem; color: var(--text-muted); }
.internship-badge { display: flex; align-items: center; gap: 0.4rem; padding: 0.4rem 1rem; background: rgba(16, 185, 129, 0.1); color: var(--accent-green); border: 1px solid rgba(16, 185, 129, 0.3); border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.internship-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.internship-section-item h4 { display: flex; align-items: center; gap: 0.5rem; font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.75rem; }
.internship-section-item h4 i { color: var(--accent-cyan); }
.internship-section-item p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
.responsibility-list { display: flex; flex-direction: column; gap: 0.5rem; }
.responsibility-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; color: var(--text-secondary); }
.responsibility-list li i { color: var(--accent-cyan); font-size: 0.7rem; margin-top: 0.4rem; flex-shrink: 0; }
.learnings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; }
.learning-item { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.9rem; background: rgba(255, 158, 170, 0.08); border-radius: var(--radius-sm); font-size: 0.85rem; color: var(--text-secondary); border: 1px solid rgba(255, 158, 170, 0.15); }
.learning-item i { color: var(--accent-green); }
.tech-stack { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tech-item { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1rem; background: rgba(255, 158, 170, 0.1); border-radius: 20px; font-size: 0.85rem; color: var(--text-primary); font-weight: 500; border: 1px solid rgba(255, 158, 170, 0.2); transition: all var(--transition-fast); }
.tech-item:hover { transform: translateY(-2px); box-shadow: var(--glass-shadow); border-color: var(--accent-cyan); }
.internship-footer { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; border-top: 1px solid var(--glass-border); background: rgba(255, 158, 170, 0.1); flex-wrap: wrap; gap: 1rem; }
.duration { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-muted); }
.status-tag { display: flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.8rem; border-radius: 15px; font-size: 0.8rem; font-weight: 600; }
.status-tag.success { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); border: 1px solid rgba(16, 185, 129, 0.3); }

/* ============================================
   CONTACT SECTION - TERMINAL
   ============================================ */
.contact-section { padding: var(--section-padding) var(--container-padding); max-width: var(--container-max); margin: 0 auto; }
.contact-container { max-width: 700px; margin: 0 auto; }
.terminal-card { background: #1e293b; border-radius: 0; overflow: hidden; box-shadow: var(--pixel-shadow); border: var(--pixel-border); }
.terminal-header { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 1rem; background: rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.1); position: relative; }
.terminal-buttons { display: flex; gap: 0.5rem; }
.term-btn { width: 12px; height: 12px; border-radius: 50%; }
.term-btn.close { background: #7cf0ff; }

.term-btn.minimize { background: #f59e0b; }
.term-btn.maximize { background: #10b981; }
.terminal-title { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-light); display: flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap; }
.terminal-body { padding: 1.5rem; font-family: var(--font-mono); }
.terminal-line { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.prompt { color: var(--accent-green); font-weight: 600; }
.command { color: var(--accent-cyan); }
.cursor { color: var(--accent-cyan); }
.cursor.blink { animation: blink 1s step-end infinite; }
.terminal-output { margin-bottom: 1.5rem; }
.success-msg { color: var(--accent-green); display: flex; align-items: center; gap: 0.5rem; }
.contact-methods { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: rgba(255, 255, 255, 0.03); border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, 0.05); transition: all var(--transition-fast); cursor: pointer; }
.contact-item:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(124, 240, 255, 0.2); }
.contact-icon { width: 40px; height: 40px; background: rgba(124, 240, 255, 0.1); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--accent-cyan); font-size: 1rem; flex-shrink: 0; }
.contact-info { flex: 1; display: flex; flex-direction: column; }
.contact-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.contact-value { font-size: 0.9rem; color: white; }
.copy-btn { width: 36px; height: 36px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-sm); color: var(--text-light); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition-fast); flex-shrink: 0; }
.copy-btn:hover { background: rgba(124, 240, 255, 0.1); color: var(--accent-cyan); border-color: rgba(124, 240, 255, 0.3); }
.copy-btn.copied { background: rgba(16, 185, 129, 0.2); color: var(--accent-green); border-color: rgba(16, 185, 129, 0.3); }

/* ============================================
   FOOTER
   ============================================ */
.footer { 
    padding: clamp(1.25rem, 3vw, 2rem) var(--container-padding); 
    border-top: 1px solid var(--glass-border); 
    background: var(--glass-bg); 
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); 
    position: relative;
    z-index: 10;
}

.footer-content { max-width: var(--container-max); margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.footer-top { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 2rem; }
.footer-right { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 2px; }
.footer-logo .logo-bracket { color: var(--accent-cyan); }
.footer-logo .logo-text { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-text { color: var(--accent-cyan); font-size: 0.85rem; }
.footer-text i { color: var(--accent-pink); margin: 0 0.2rem; }
.footer-bottom { text-align: center; border-top: 1px solid var(--glass-border); padding-top: 1rem; }
.footer-copy { color: #B5B5B5; font-size: 0.75rem; font-family: var(--font-mono); letter-spacing: 1px; }

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast-notification { position: fixed; bottom: 2rem; right: 2rem; padding: 1rem 1.5rem; background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); border-radius: var(--radius-sm); box-shadow: var(--glass-shadow); display: flex; align-items: center; gap: 0.75rem; transform: translateX(150%); transition: transform 0.4s ease; z-index: 9999; max-width: calc(100vw - 2rem); }

.toast-notification.show { transform: translateX(0); }
.toast-notification i { color: var(--accent-green); }
.toast-notification span { font-size: 0.9rem; font-weight: 500; color: var(--text-primary); }

/* ============================================
   CUSTOM PIXEL GHOST CURSOR
   ============================================ */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 28px;
    height: 36px;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    opacity: 1;
    /* Soft lavender/cyan pastel glow for futuristic theme */
    filter: drop-shadow(0 0 8px rgba(179, 136, 255, 0.5)) drop-shadow(0 0 12px rgba(124, 240, 255, 0.3));
}


.ghost-body {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 26px;
    background: #ffffff;
    border-radius: 11px 11px 6px 6px;
    /* Pixel-perfect edges using box-shadow for retro 8-bit feel */
    box-shadow: 
        inset 1px 1px 0 rgba(240, 240, 240, 0.5),
        inset -1px -1px 0 rgba(235, 235, 235, 0.8),
        0 2px 0 rgba(240, 240, 240, 0.3);
    animation: ghostFloat 1.6s ease-in-out infinite;
}

@keyframes ghostFloat {
    0%, 100% { 
        transform: translateX(-50%) translateY(0); 
    }
    50% { 
        transform: translateX(-50%) translateY(-3px); 
    }
}

/* Ghost eyes container */
.ghost-eyes {
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

/* Pixel-style ghost eyes */
.ghost-eye {
    width: 4px;
    height: 5px;
    background: #0f172a;
    border-radius: 1px;
    position: relative;
}

/* Cute eye reflection pixels */
.ghost-eye::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 1px;
    height: 1px;
    background: #ffffff;
    border-radius: 50%;
}

/* Ghost mouth - closed by default */
.ghost-mouth {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 2px;
    background: #0f172a;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.15s ease;
}

/* Hover state - mouth opens slightly */
.custom-cursor.hovering .ghost-mouth {
    width: 5px;
    height: 4px;
    border-radius: 50% 50% 20% 20%;
}

/* Click state - mouth opens more */
.custom-cursor.clicking .ghost-mouth {
    width: 6px;
    height: 6px;
    border-radius: 50% 50% 50% 50%;
    background: #1e293b;
}

.ghost-cheeks {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 1;
}

.ghost-cheek {
    width: 4px;
    height: 3px;
    background: rgba(255, 183, 197, 0.85);
    border-radius: 50%;
}
.ghost-tail {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 5px;
    background: #ffffff;
    border-radius: 0 0 6px 6px;
    /* Creating pixel wave effect using box-shadows */
    box-shadow: 
        -5px 0 0 #ffffff,
        5px 0 0 #ffffff;
}

/* Hover state - scale up with enhanced glow */
.custom-cursor.hovering {
    transform: translate(-50%, -50%) scale(1.25);
    filter: drop-shadow(0 0 12px rgba(179, 136, 255, 0.7)) drop-shadow(0 0 18px rgba(124, 240, 255, 0.5));
}

/* Hover state keeps floating */
.custom-cursor.hovering .ghost-body {
    animation: ghostFloat 1s ease-in-out infinite;
}

/* Click state - subtle scale pop and glow pulse */
.custom-cursor.clicking {
    transform: translate(-50%, -50%) scale(1.15);
    filter: drop-shadow(0 0 20px rgba(124, 240, 255, 0.9)) drop-shadow(0 0 25px rgba(179, 136, 255, 0.7));
    transition: transform 0.1s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.1s ease;
}

/* Keep ghost body upright and floating during click */
.custom-cursor.clicking .ghost-body {
    animation: ghostFloat 1s ease-in-out infinite;
}

/* Hide on touch devices */

/* Reduced motion for accessibility */

/* ============================================
   GHOST CLICK EFFECT
   ============================================ */
.ghost-print {
    position: absolute;
    width: 24px; /* Slightly smaller than cursor */
    height: 30px;
    pointer-events: none;
    z-index: 10001 !important;
    transform: translate(-50%, -50%);
    animation: ghostPopFade 0.7s cubic-bezier(0.2, 0, 0.2, 1) forwards;
    /* Stronger glow to ensure visibility on dark background */
    filter: drop-shadow(0 0 10px rgba(124, 240, 255, 0.6));
}

.ghost-print .ghost-body {
    animation: none !important; /* Disable default floating for prints */
    background: rgba(255, 255, 255, 0.6) !important; /* Slightly more transparent body */
}

@keyframes ghostPopFade {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    30% {
        transform: translate(-50%, -50%) scale(1.15); /* Pop */
        opacity: 0.6;
        filter: drop-shadow(0 0 20px rgba(124, 240, 255, 0.9)); /* Brightest point of pulse */
    }
    60% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
        filter: drop-shadow(0 0 10px rgba(124, 240, 255, 0.4)); /* Softening pulse */
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

/* ============================================
   AIR PUFF EFFECT
   ============================================ */
.puff-particle {
    position: absolute; /* Changed to absolute to stick to page coordinates */
    width: 8px; 
    height: 8px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10010; /* Above the ghost cursor (10000) */
    filter: blur(1.2px) drop-shadow(0 0 6px rgba(124, 240, 255, 0.8));
    animation: airPuff 0.7s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes airPuff {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.7;
    }
    100% {
        transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(3);
        opacity: 0;
    }
}

/* Global Site Logo Style */
.site-logo-img {
    height: 40px;
    width: auto;
}

/* ============================================
   PREMIUM HERO ENTRANCE ANIMATIONS
   (intentionally removed to restore original behavior)
   ============================================ */

/* Larger logo for navbar and footer */
.nav-logo .site-logo-img,
.footer-logo .site-logo-img {
    height: 55px;
}
/* Pixel Art Force Square Corners */
.badge, .hero-badge, .level-tag, .tag, .tech-tag, .internship-badge, .status-tag, .card-status, .section-tag, .xp-bar, .xp-fill, .skill-bar, .skill-fill, .soft-skill-bar, .soft-skill-fill, .loading-bar-container, .loading-bar, .nav-link, .about-item, .learning-item, .tech-item {
    border-radius: 0 !important;
}
.float-badge {
    border-radius: 0 !important;
    border: var(--pixel-border);
    box-shadow: var(--pixel-shadow);
}
.soft-skill-icon {
    border-radius: 0 !important;
    border: var(--pixel-border);
}
.edu-marker {
    border-radius: 0 !important;
}
.company-logo, .contact-icon, .copy-btn {
    border-radius: 0 !important;
}
.toast-notification {
    border-radius: 0 !important;
    border: var(--pixel-border);
    box-shadow: var(--pixel-shadow);
}
.btn, .view-btn, .btn-mission {
    border-radius: 0 !important;
    border: var(--pixel-border);
    box-shadow: inset -4px -4px 0px rgba(0,0,0,0.3), var(--pixel-shadow);
}
.view-btn:hover, .btn-mission:hover {
    transform: translate(-2px, -2px) !important;
    box-shadow: inset -4px -4px 0px rgba(0,0,0,0.3), 8px 8px 0px rgba(0,0,0,0.8) !important;
}
.profile-level {
    border-radius: 0 !important;
    border: var(--pixel-border);
}
.image-count-badge {
    border-radius: 0 !important;
    border: var(--pixel-border);
}
.back-to-top {
    border-radius: 0 !important;
    border: var(--pixel-border);
    box-shadow: inset -4px -4px 0px rgba(0,0,0,0.3), var(--pixel-shadow);
}
.back-to-top .progress-ring {
    display: none;
}

/* Restore Native Cursor Near Scrollbar */
body.show-native-cursor, 
body.show-native-cursor * {
    cursor: auto !important;
}
body.show-native-cursor a,
body.show-native-cursor button,
body.show-native-cursor .nav-link,
body.show-native-cursor .btn {
    cursor: pointer !important;
}

/* Restore Native Cursor Near Scrollbar Override */
body:has(#custom-cursor).show-native-cursor, 
body:has(#custom-cursor).show-native-cursor * {
    cursor: auto !important;
}
body:has(#custom-cursor).show-native-cursor a,
body:has(#custom-cursor).show-native-cursor button,
body:has(#custom-cursor).show-native-cursor .nav-link,
body:has(#custom-cursor).show-native-cursor .btn {
    cursor: pointer !important;
}

/* Completely Override All Cursors */
body.show-native-cursor,
body.show-native-cursor *,
body:has(#custom-cursor).show-native-cursor,
body:has(#custom-cursor).show-native-cursor *,
body:has(#custom-cursor).show-native-cursor a,
body:has(#custom-cursor).show-native-cursor button,
body:has(#custom-cursor).show-native-cursor .btn,
body:has(#custom-cursor).show-native-cursor .contact-item,
body:has(#custom-cursor).show-native-cursor .mission-card,
body:has(#custom-cursor).show-native-cursor .gallery-card,
body:has(#custom-cursor).show-native-cursor .card-inner,
body:has(#custom-cursor).show-native-cursor .ctrl-btn,
body:has(#custom-cursor).show-native-cursor .copy-btn {
    cursor: auto !important;
}
body.show-native-cursor a,
body.show-native-cursor button,
body.show-native-cursor .nav-link,
body.show-native-cursor .btn,
body:has(#custom-cursor).show-native-cursor a,
body:has(#custom-cursor).show-native-cursor button,
body:has(#custom-cursor).show-native-cursor .nav-link,
body:has(#custom-cursor).show-native-cursor .btn {
    cursor: pointer !important;
}

/* Extra force for scrollbar cursor */
@supports (scrollbar-color: var(--accent-pink) rgba(255, 255, 255, 0.1)) {
    html {
        scrollbar-color: var(--accent-pink) rgba(255, 255, 255, 0.1);
    }
}
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}
::-webkit-scrollbar-thumb {
    background-color: var(--accent-pink);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
@supports (scrollbar-gutter: stable) {
    body {
        scrollbar-gutter: stable;
    }
}

