/* ════════════════════════════════════
   SHARED HEADER & CARD STYLES
   Venkatesh R Portfolio
════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ════ PAGE TRANSITION OVERLAY ════ */
#page-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg, #0C0C0C);
  z-index: 99998;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
#page-overlay.entering {
  opacity: 1;
  pointer-events: all;
}

/* ════ AMBIENT BACKGROUND ORBS ════ */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle at center,
    rgba(var(--accent-r, 255), var(--accent-g, 107), var(--accent-b, 44), 0.055) 0%,
    transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: orbDrift1 18s ease-in-out infinite alternate;
  will-change: transform;
}
body::after {
  content: '';
  position: fixed;
  bottom: -15%;
  right: -8%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle at center,
    rgba(var(--accent-r, 255), var(--accent-g, 107), var(--accent-b, 44), 0.035) 0%,
    transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: orbDrift2 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes orbDrift1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(4vw, 6vh) scale(1.08); }
}
@keyframes orbDrift2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-5vw, -4vh) scale(1.05); }
}
body.light-theme::before {
  background: radial-gradient(circle at center,
    rgba(37, 99, 235, 0.045) 0%, transparent 65%);
}
body.light-theme::after {
  background: radial-gradient(circle at center,
    rgba(37, 99, 235, 0.03) 0%, transparent 65%);
}

/* ════ TOP HEADER — Premium Redesign ════ */
body { padding-top: 80px; padding-left: 0 !important; }

.top-header {
  position: fixed; top: 0; left: 0; width: 100%; height: 80px;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  z-index: 1000;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  box-shadow: none;
  gap: 2rem;
}

/* Subtle accent glow strip at very bottom of header */
.top-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(var(--accent-r, 255), var(--accent-g, 107), var(--accent-b, 44), 0.35) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.top-header.scrolled::after { opacity: 1; }

.top-header.scrolled {
  background: rgba(8, 8, 8, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

/* ── Logo ── */
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header-logo a { display: flex; align-items: center; text-decoration: none; gap: 0.75rem; }

/* Logo mark — small glowing dot accent */
.header-logo a::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(var(--accent-r,255),var(--accent-g,107),var(--accent-b,44), 0.8),
              0 0 20px rgba(var(--accent-r,255),var(--accent-g,107),var(--accent-b,44), 0.4);
  flex-shrink: 0;
  animation: pulseDot 2.5s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}

.flowing-image-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: visible;
  background: transparent;
  padding: 2px 8px;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
  filter: invert(1) drop-shadow(0 0 8px rgba(255,255,255,0.25)) drop-shadow(0 0 20px rgba(var(--accent-r,255),var(--accent-g,107),var(--accent-b,44), 0.18));
  transition: filter 0.4s ease, transform 0.4s ease;
}
.logo-img:hover {
  transform: scale(1.03);
  filter: invert(1) drop-shadow(0 0 12px rgba(255,255,255,0.4)) drop-shadow(0 0 30px rgba(var(--accent-r,255),var(--accent-g,107),var(--accent-b,44), 0.5));
}
body.light-theme .logo-img { 
  filter: invert(0) drop-shadow(0 0 8px rgba(37,99,235,0.18)); 
}
body.light-theme .logo-img:hover { 
  filter: invert(0) drop-shadow(0 0 16px rgba(37,99,235,0.35)); 
}

/* ── Flow Light Fusion Animation ── */
.fusion-light {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.fusion-light-back {
  z-index: 1; /* Back layer */
}
.fusion-light-front {
  z-index: 11; /* Front layer */
  -webkit-mask-image: repeating-linear-gradient(90deg, black 0%, black 15%, transparent 15%, transparent 30%);
  mask-image: repeating-linear-gradient(90deg, black 0%, black 15%, transparent 15%, transparent 30%);
}
.logo-img, .footer-logo-img {
  position: relative;
  z-index: 10;
}
.fusion-path {
  stroke-dasharray: 120 700;
  stroke-dashoffset: 820;
  animation: fusionFlow 4.5s ease-in-out infinite;
  opacity: 0.85;
}
.fusion-path-glow {
  stroke-dasharray: 120 700;
  stroke-dashoffset: 820;
  animation: fusionFlow 4.5s ease-in-out infinite;
  opacity: 0.7;
  filter: blur(8px) drop-shadow(0 0 25px rgba(255,107,44,0.6)) drop-shadow(0 0 50px rgba(255,107,44,0.3));
}
@keyframes fusionFlow {
  0% { stroke-dashoffset: 820; }
  100% { stroke-dashoffset: 0; }
}

/* ── Center Nav ── */
.header-nav {
  display: flex; align-items: center; justify-content: center;
  flex: 1;
}
.header-nav ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 0.35rem; align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50px;
  padding: 0.35rem 0.6rem;
}

/* Staggered entrance */
.header-nav li { opacity: 0; transform: translateY(-6px); animation: navItemDrop 0.4s ease forwards; }
.header-nav li:nth-child(1) { animation-delay: 0.05s; }
.header-nav li:nth-child(2) { animation-delay: 0.10s; }
.header-nav li:nth-child(3) { animation-delay: 0.15s; }
.header-nav li:nth-child(4) { animation-delay: 0.20s; }
.header-nav li:nth-child(5) { animation-delay: 0.25s; }
.header-nav li:nth-child(6) { animation-delay: 0.30s; }
.header-nav li:nth-child(7) { animation-delay: 0.35s; }
@keyframes navItemDrop { to { opacity: 1; transform: translateY(0); } }

.header-nav a {
  color: rgba(163, 163, 163, 0.9);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 0.45rem 0.95rem;
  border-radius: 50px;
  transition: color 0.25s ease, background 0.25s ease;
  position: relative;
  white-space: nowrap;
}
.header-nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}
/* Active pill highlight */
.header-nav a.active {
  color: var(--white);
  background: rgba(var(--accent-r,255), var(--accent-g,107), var(--accent-b,44), 0.15);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-r,255), var(--accent-g,107), var(--accent-b,44), 0.3);
}
.header-nav a.active::after, .header-nav a:hover::after { display: none; }

@media(max-width:992px) {
  .top-header { padding: 0 1.5rem; gap: 1rem; }
  .logo-img { height: 45px; }
  .header-nav ul { gap: 0.2rem; } 
  .header-nav a { font-size: 0.8rem; padding: 0.4rem 0.7rem; } 
}
@media(max-width:768px) {
  .top-header { padding: 0 1.25rem; }
  .logo-img { height: 40px; }
  .header-nav {
    position: fixed; top: 80px; left: 0; width: 100%; height: 50px;
    background: rgba(10,10,10,0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    display: flex; align-items: center; justify-content: flex-start;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    border-radius: 0;
  }
  .header-nav ul {
    width: max-content; padding: 0 1.5rem;
    background: transparent; border: none; border-radius: 0;
    gap: 0.2rem;
  }
  .header-nav li { opacity: 1; transform: none; animation: none; }
  .header-nav::-webkit-scrollbar { display: none; }
  body { padding-top: 130px !important; }
}
@media(max-width:480px) {
  .top-header { padding: 0 1rem; gap: 0.5rem; }
  .logo-img { height: 32px; }
  body { padding-top: 124px !important; }
  .header-nav { height: 44px; }
  .header-nav ul { padding: 0 1rem; }
  .header-nav a { font-size: 0.78rem; padding: 0.35rem 0.6rem; }
}

/* ════ GLASSMORPHISM CARDS ════ */
.pcard, .ecard, .tl-body, .lead-card, .stat {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 4px 24px rgba(0, 0, 0, .4);
  /* GitHub Universe: smooth lift transition */
  transition: transform 0.35s cubic-bezier(0.22, 0.68, 0, 1.2),
              box-shadow 0.35s ease,
              border-color 0.35s ease !important;
  will-change: transform;
  text-decoration: none;
  color: inherit;
  display: block;
}
.pcard:hover, .ecard:hover {
  border-color: rgba(255, 107, 44, .4) !important;
  /* GitHub Universe: layered ambient + colored shadow + scale lift */
  box-shadow:
    0 0 0 1px rgba(255, 107, 44, .18),
    0 8px 24px rgba(0,0,0,0.5),
    0 20px 48px rgba(255, 107, 44, .10),
    0 1px 0 rgba(255,255,255,0.06) inset !important;
  transform: translateY(-5px) scale(1.012) !important;
}
/* Shimmer overlay on hover — GitHub Universe card style */
.pcard, .ecard {
  position: relative;
  overflow: hidden;
}
.pcard::before, .ecard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.035) 0%,
    transparent 50%,
    rgba(255,255,255,0.015) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1; /* above card bg, below content */
  border-radius: inherit;
}
.pcard:hover::before, .ecard:hover::before { opacity: 1; }

/* ════ PRELOADER ════ */
#preloader {
  position: fixed;
  inset: 0;
  background: #0C0C0C;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
body.light-theme #preloader {
  background: #ffffff;
}
.wrapper {
  width: 200px;
  height: 60px;
  position: relative;
  z-index: 1;
}
.circle {
  width: 20px;
  height: 20px;
  position: absolute;
  border-radius: 50%;
  background-color: var(--accent);
  left: 15%;
  transform-origin: 50%;
  animation: circle7124 .5s alternate infinite ease;
}
@keyframes circle7124 {
  0% { top: 60px; height: 5px; border-radius: 50px 50px 25px 25px; transform: scaleX(1.7); }
  40% { height: 20px; border-radius: 50%; transform: scaleX(1); }
  100% { top: 0%; }
}
.circle:nth-child(2) { left: 45%; animation-delay: .2s; }
.circle:nth-child(3) { left: auto; right: 15%; animation-delay: .3s; }

.shadow {
  width: 20px;
  height: 4px;
  border-radius: 50%;
  background-color: rgba(255, 107, 44, 0.3);
  position: absolute;
  top: 62px;
  transform-origin: 50%;
  z-index: -1;
  left: 15%;
  filter: blur(1px);
  animation: shadow046 .5s alternate infinite ease;
}
@keyframes shadow046 {
  0% { transform: scaleX(1.5); }
  40% { transform: scaleX(1); opacity: .7; }
  100% { transform: scaleX(.2); opacity: .4; }
}
.shadow:nth-child(4) { left: 45%; animation-delay: .2s; }
.shadow:nth-child(5) { left: auto; right: 15%; animation-delay: .3s; }

/* ════ HEADER SOCIALS ════ */
.header-socials {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 1010;
}
.header-socials a {
  color: var(--white);
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.22, 0.68, 0, 1.2);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
  position: relative;
}
/* GitHub Universe: ring pulse glow on hover */
.header-socials a:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  transform: translateY(-3px) scale(1.1);
  box-shadow:
    0 0 0 4px rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.15),
    0 6px 18px rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.35);
}
body.light-theme .header-socials a {
  color: #1f2937;
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
}
body.light-theme .header-socials a:hover {
  background: #2563EB;
  color: #ffffff;
  border-color: #2563EB;
  box-shadow:
    0 0 0 4px rgba(37,99,235,0.15),
    0 6px 18px rgba(37,99,235, 0.35);
}

@media(max-width:992px) {
  .header-socials { display: none; }
}
@media(max-width:768px) {
  .sig-image { width: 180px; }
}

/* ════ THEME SWITCH + MONSTER ════ */
.theme-switch-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 1010;
}
@media(max-width:768px) {
  .theme-switch-wrapper { transform: scale(0.9); }
}

.theme-switch {
  --toggle-size: 14px;
  --container-width: 5.625em;
  --container-height: 2.5em;
  --container-radius: 0.38em;
  --container-light-bg: #5caad4;
  --container-night-bg: #1b1e36;
  --circle-container-diameter: 3.375em;
  --sun-moon-diameter: 2.125em;
  --sun-bg: #f5c518;
  --moon-bg: #d8d4c0;
  --spot-color: #9b9787;
  --circle-container-offset: calc((var(--circle-container-diameter) - var(--container-height)) / 2 * -1);
  --stars-color: #fff8e1;
  --clouds-color: #f4f4f4;
  --back-clouds-color: #bacfe0;
  --transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
  --circle-transition: 0.3s cubic-bezier(0, -0.02, 0.35, 1.17);
  display: inline-block;
  margin: 0;
  position: relative;
  z-index: 10;
}

.theme-switch, .theme-switch *, .theme-switch *::before, .theme-switch *::after {
  box-sizing: border-box; margin: 0; padding: 0; font-size: var(--toggle-size);
}
.theme-switch__container {
  width: var(--container-width); height: var(--container-height);
  background-color: var(--container-light-bg); border-radius: var(--container-radius);
  overflow: hidden; cursor: pointer; position: relative;
  background-image: linear-gradient(to bottom, var(--container-light-bg) 0%, #4a92bd 100%);
  transition: all var(--transition);
  box-shadow: 0 0 0 2.5px #1a1a1a, 3px 4px 0 2.5px rgba(26, 26, 26, 0.22);
  transform: rotate(-0.7deg); filter: url(#sketchy);
}
.theme-switch__container::before {
  content: ""; position: absolute; z-index: 1; inset: 0;
  background-image: repeating-linear-gradient(-50deg, transparent, transparent 7px, rgba(255, 255, 255, 0.04) 7px, rgba(255, 255, 255, 0.04) 8px);
  border-radius: inherit; pointer-events: none;
}
.theme-switch__checkbox { display: none; }
.theme-switch__circle-container {
  width: var(--circle-container-diameter); height: var(--circle-container-diameter);
  background-color: rgba(255, 255, 255, 0.1); position: absolute;
  left: var(--circle-container-offset); top: var(--circle-container-offset);
  border-radius: var(--container-radius);
  box-shadow: inset 0 0 0 3.375em rgba(255, 255, 255, 0.1), inset 0 0 0 3.375em rgba(255, 255, 255, 0.1), 0 0 0 0.625em rgba(255, 255, 255, 0.1), 0 0 0 1.25em rgba(255, 255, 255, 0.1);
  display: flex; transition: var(--circle-transition); pointer-events: none;
}
.theme-switch__circle-container::before {
  content: ""; position: absolute; width: calc(var(--circle-container-diameter) + 1.5em); height: calc(var(--circle-container-diameter) + 1.5em);
  left: -0.75em; top: -0.75em; border-radius: 50%;
  background: conic-gradient(transparent 0deg, transparent 8deg, rgba(245, 197, 24, 0.52) 8deg, rgba(245, 197, 24, 0.52) 22deg, transparent 22deg, transparent 53deg, rgba(245, 197, 24, 0.52) 53deg, rgba(245, 197, 24, 0.52) 67deg, transparent 67deg, transparent 98deg, rgba(245, 197, 24, 0.52) 98deg, rgba(245, 197, 24, 0.52) 112deg, transparent 112deg, transparent 143deg, rgba(245, 197, 24, 0.52) 143deg, rgba(245, 197, 24, 0.52) 157deg, transparent 157deg, transparent 188deg, rgba(245, 197, 24, 0.52) 188deg, rgba(245, 197, 24, 0.52) 202deg, transparent 202deg, transparent 233deg, rgba(245, 197, 24, 0.52) 233deg, rgba(245, 197, 24, 0.52) 247deg, transparent 247deg, transparent 278deg, rgba(245, 197, 24, 0.52) 278deg, rgba(245, 197, 24, 0.52) 292deg, transparent 292deg, transparent 323deg, rgba(245, 197, 24, 0.52) 323deg, rgba(245, 197, 24, 0.52) 337deg, transparent 337deg, transparent 360deg);
  animation: rotateSunRays 14s linear infinite; opacity: 1; transition: opacity var(--transition); pointer-events: none; filter: url(#sketchy-sm);
}
.theme-switch__checkbox:checked ~ .theme-switch .theme-switch__circle-container::before { opacity: 0; }
@keyframes rotateSunRays { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.theme-switch__sun-moon-container {
  pointer-events: auto; position: relative; z-index: 2;
  width: var(--sun-moon-diameter); height: var(--sun-moon-diameter); margin: auto;
  border-radius: var(--container-radius); background-color: var(--sun-bg);
  box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset, 0em -0.062em 0.062em 0em #a1872a inset, 0.1em 0.13em 0 0.04em #1a1a1a;
  filter: url(#sketchy-sm) drop-shadow(0.062em 0.125em 0.125em rgba(0, 0, 0, 0.25)) drop-shadow(0em 0.062em 0.125em rgba(0, 0, 0, 0.25));
  overflow: hidden; transition: var(--transition); transform: scale(1);
}
.theme-switch__sun-moon-container:hover { transform: scale(1.1) rotate(5deg); }
.theme-switch__moon {
  transform: translateX(100%); width: 100%; height: 100%; background-color: var(--moon-bg); border-radius: inherit;
  box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset, 0em -0.062em 0.062em 0em #969696 inset;
  transition: all var(--transition), transform 0.3s ease; position: relative;
}
.theme-switch__moon:hover { transform: rotate(15deg); }
.theme-switch__spot {
  position: absolute; top: 0.75em; left: 0.312em; width: 0.75em; height: 0.75em;
  border-radius: var(--container-radius); background-color: var(--spot-color);
  box-shadow: 0em 0.0312em 0.062em rgba(0, 0, 0, 0.25) inset; transition: background-color 0.3s ease; filter: url(#sketchy-sm);
}
.theme-switch__spot:nth-of-type(2) { width: 0.375em; height: 0.375em; top: 0.937em; left: 1.375em; }
.theme-switch__spot:nth-last-of-type(3) { width: 0.25em; height: 0.25em; top: 0.312em; left: 0.812em; }
.theme-switch__moon:hover .theme-switch__spot { background-color: #7a7f8c; }
.theme-switch__clouds {
  width: 1.25em; height: 1.25em; background-color: var(--clouds-color); border-radius: var(--container-radius);
  position: absolute; bottom: -0.625em; left: 0.312em;
  box-shadow: 0.937em 0.312em var(--clouds-color), -0.312em -0.312em var(--back-clouds-color), 1.437em 0.375em var(--clouds-color), 0.5em -0.125em var(--back-clouds-color), 2.187em 0 var(--clouds-color), 1.25em -0.062em var(--back-clouds-color), 2.937em 0.312em var(--clouds-color), 2em -0.312em var(--back-clouds-color), 3.625em -0.062em var(--clouds-color), 2.625em 0em var(--back-clouds-color), 4.5em -0.312em var(--clouds-color), 3.375em -0.437em var(--back-clouds-color), 4.625em -1.75em 0 0.437em var(--clouds-color), 4em -0.625em var(--back-clouds-color), 4.125em -2.125em 0 0.437em var(--back-clouds-color);
  transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25); filter: url(#sketchy-sm);
}
.theme-switch__stars-container {
  position: absolute; color: var(--stars-color); top: -100%; left: 0.312em; width: 2.75em; height: auto; transition: var(--transition);
}
.theme-switch__checkbox:checked ~ .theme-switch .theme-switch__container {
  background-color: var(--container-night-bg);
  background-image: linear-gradient(to bottom, var(--container-night-bg) 0%, #252a4a 100%);
}
.theme-switch__checkbox:checked ~ .theme-switch .theme-switch__circle-container {
  left: calc(100% - var(--circle-container-offset) - var(--circle-container-diameter));
}
.theme-switch__checkbox:checked ~ .theme-switch .theme-switch__circle-container:hover {
  left: calc(100% - var(--circle-container-offset) - var(--circle-container-diameter) - 0.187em);
}
.theme-switch__circle-container:hover { left: calc(var(--circle-container-offset) + 0.187em); }
.theme-switch__checkbox:checked ~ .theme-switch .theme-switch__moon { transform: translate(0); }
.theme-switch__checkbox:checked ~ .theme-switch .theme-switch__clouds { bottom: -4.062em; }
.theme-switch__checkbox:checked ~ .theme-switch .theme-switch__stars-container { top: 50%; transform: translateY(-50%); }
.theme-switch__container:hover .theme-switch__clouds { transform: translateX(15px) scale(1.02); }
.theme-switch__sun-moon-container::after {
  content: ""; position: absolute; inset: -5px; background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%; opacity: 0; transition: opacity 0.3s ease;
}
.theme-switch__sun-moon-container:hover::after { opacity: 1; }
.theme-switch__shooting-star { position: absolute; width: 2px; height: 2px; background: white; top: 20%; left: -10%; opacity: 0; transition: opacity 0.3s ease; }
.theme-switch__shooting-star-2 { position: absolute; width: 1px; height: 1px; background: white; top: 35%; left: -10%; opacity: 0; transition: opacity 0.3s ease; }
.theme-switch__meteor { position: absolute; width: 3px; height: 3px; background: #ffd700; border-radius: 50%; top: -10%; left: 50%; opacity: 0; filter: blur(1px); transition: opacity 0.3s ease; }
.theme-switch__checkbox:checked ~ .theme-switch .theme-switch__shooting-star { animation: shootingStar 2s linear infinite; opacity: 1; }
.theme-switch__checkbox:checked ~ .theme-switch .theme-switch__shooting-star-2 { animation: shootingStar 3s linear infinite 1s; opacity: 1; }
.theme-switch__checkbox:checked ~ .theme-switch .theme-switch__meteor { animation: meteor 4s linear infinite 2s; opacity: 1; }
@keyframes shootingStar { 0% { transform: translateX(0) translateY(0) rotate(45deg); opacity: 1; } 100% { transform: translateX(150px) translateY(150px) rotate(45deg); opacity: 0; } }
@keyframes meteor { 0% { transform: translateY(0) scale(1); opacity: 1; } 100% { transform: translateY(150px) scale(0.3); opacity: 0; } }
.theme-switch__stars-cluster { position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s ease; }
.theme-switch__stars-cluster .star { position: absolute; width: 2px; height: 2px; background: white; border-radius: 50%; box-shadow: 0 0 4px 1px white; }
.theme-switch__stars-cluster .star:nth-child(1) { top: 20%; left: 20%; animation: twinkle 1s infinite ease-in-out; }
.theme-switch__stars-cluster .star:nth-child(2) { top: 30%; left: 55%; animation: twinkle 1s infinite ease-in-out 0.3s; }
.theme-switch__stars-cluster .star:nth-child(3) { top: 40%; left: 80%; animation: twinkle 1s infinite ease-in-out 0.6s; }
.theme-switch__stars-cluster .star:nth-child(4) { top: 60%; left: 30%; animation: twinkle 1s infinite ease-in-out 0.9s; }
.theme-switch__stars-cluster .star:nth-child(5) { top: 70%; left: 65%; animation: twinkle 1s infinite ease-in-out 1.2s; }
.theme-switch__aurora { position: absolute; top: 0; left: 0; right: 0; height: 20px; background: linear-gradient(90deg, rgba(0, 255, 255, 0) 0%, rgba(0, 255, 255, 0.2) 25%, rgba(128, 0, 255, 0.2) 50%, rgba(0, 255, 255, 0.2) 75%, rgba(0, 255, 255, 0) 100%); opacity: 0; filter: blur(4px); transform: translateY(-100%); transition: opacity 0.3s ease; }
.theme-switch__comets { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 0.3s ease; }
.theme-switch__comets .comet { position: absolute; width: 2px; height: 2px; background: linear-gradient(90deg, white 0%, transparent 90%); border-radius: 50%; filter: blur(1px); }
.theme-switch__comets .comet:nth-child(1) { top: 30%; left: -10%; animation: cometMove 4s linear infinite; }
.theme-switch__comets .comet:nth-child(2) { top: 50%; left: -10%; animation: cometMove 6s linear infinite 2s; }
@keyframes twinkle { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes cometMove { 0% { transform: translateX(0) translateY(0) rotate(-45deg) scale(1); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateX(200px) translateY(200px) rotate(-45deg) scale(0.2); opacity: 0; } }
.theme-switch__checkbox:checked ~ .theme-switch .theme-switch__stars-cluster { opacity: 1; }
.theme-switch__checkbox:checked ~ .theme-switch .theme-switch__aurora { opacity: 1; animation: auroraWave 8s linear infinite; }
.theme-switch__checkbox:checked ~ .theme-switch .theme-switch__comets { opacity: 1; }
@keyframes auroraWave { 0% { transform: translateY(-100%) translateX(-50%); } 100% { transform: translateY(-100%) translateX(50%); } }

/* ════ MONSTER ACTIVITY ════ */
.monster-lid {
  position: absolute; top: -4px; left: 10px; width: 60px; height: 6px;
  background: #34495e; border-radius: 4px; z-index: 15;
  transform-origin: left; transition: transform 0.3s ease;
}
.theme-switch__checkbox:checked ~ .monster-lid { transform: rotate(-110deg); }

.monster-body {
  position: absolute; top: 0px; left: 20px; width: 40px; height: 35px;
  background: #2ecc71; border-radius: 20px 20px 5px 5px; z-index: 5;
  transition: top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex; justify-content: center; padding-top: 8px;
}
.theme-switch__checkbox:checked ~ .monster-body { top: -25px; }

.monster-eye { width: 10px; height: 10px; background: white; border-radius: 50%; margin: 0 3px; position: relative; overflow: hidden; }
.monster-pupil { position: absolute; width: 4px; height: 4px; background: black; border-radius: 50%; left: 3px; top: 3px; animation: eyeMove 3s infinite alternate; }

.arm-wrapper {
  position: absolute; width: 14px; height: 35px; left: 55px; top: 0px;
  z-index: 20; cursor: pointer; pointer-events: none;
}
.arm { width: 100%; height: 100%; background: #27ae60; border-radius: 7px; opacity: 0; }
.theme-switch__checkbox:checked ~ .arm-wrapper { pointer-events: auto; animation: pushBack 0.6s 0.4s forwards; }
.theme-switch__checkbox:checked ~ .arm-wrapper .arm { animation: armFade 0.6s 0.4s forwards; }

@keyframes pushBack { 0% { transform: translateY(0); } 50% { transform: translateY(-35px) rotate(-15deg); } 100% { transform: translateY(-35px) rotate(-15deg); } }
@keyframes armFade { 0% { opacity: 0; } 30% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 1; } }

/* ════ SITE FOOTER — Premium Redesign ════ */
.site-footer {
  position: relative;
  z-index: 5;
  background: #0a0a0a;
  padding: 0;
  margin-top: auto;
  overflow: hidden;
}

/* Top border — sharp accent line */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(var(--accent-r, 255), var(--accent-g, 107), var(--accent-b, 44), 0.8) 30%,
    rgba(var(--accent-r, 255), var(--accent-g, 107), var(--accent-b, 44), 1) 50%,
    rgba(var(--accent-r, 255), var(--accent-g, 107), var(--accent-b, 44), 0.8) 70%,
    transparent 100%
  );
  z-index: 2;
}

/* Radial glow bloom from top center */
.site-footer::after {
  content: '';
  position: absolute;
  top: -40px; left: 50%; transform: translateX(-50%);
  width: 70%;
  height: 200px;
  background: radial-gradient(ellipse at top center,
    rgba(var(--accent-r, 255), var(--accent-g, 107), var(--accent-b, 44), 0.08) 0%,
    transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ── Footer Top Banner ── */
.footer-cta-band {
  position: relative;
  z-index: 2;
  max-width: 1060px;
  margin: 0 auto;
  padding: 2.5rem 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 2.5rem;
}
.footer-cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-cta-text strong {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}
.footer-cta-text span {
  font-size: 0.82rem;
  color: var(--muted2);
}
/* Availability badge */
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(var(--accent-r,255),var(--accent-g,107),var(--accent-b,44), 0.08);
  border: 1px solid rgba(var(--accent-r,255),var(--accent-g,107),var(--accent-b,44), 0.25);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.3px;
  margin-top: 0.5rem;
  width: fit-content;
}
.footer-status::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(var(--accent-r,255),var(--accent-g,107),var(--accent-b,44), 0.8);
  animation: pulseDot 2s ease-in-out infinite;
}
.footer-cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}
.footer-cta-actions a {
  text-decoration: none;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.footer-cta-actions .fcta-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(var(--accent-r,255),var(--accent-g,107),var(--accent-b,44),0.35);
}
.footer-cta-actions .fcta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--accent-r,255),var(--accent-g,107),var(--accent-b,44),0.5);
}
.footer-cta-actions .fcta-ghost {
  background: transparent;
  color: var(--muted2);
  border: 1px solid rgba(255,255,255,0.12);
}
.footer-cta-actions .fcta-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
}

/* ── Footer Main Grid ── */
.footer-inner {
  position: relative;
  z-index: 2;
  max-width: 1060px;
  margin: 0 auto;
  padding: 2.5rem 2rem 2rem;
  display: grid;
  grid-template-columns: 1.8fr 1.2fr 1fr;
  grid-template-areas: 'left center right' 'bottom bottom bottom';
  align-items: start;
  gap: 2rem 2.5rem;
}

/* Left: Logo + tagline */
.footer-brand {
  grid-area: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-brand .footer-logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  align-self: flex-start;
}
.footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
  filter: invert(1) drop-shadow(0 0 12px rgba(var(--accent-r,255),var(--accent-g,107),var(--accent-b,44), 0.3)) drop-shadow(0 0 30px rgba(var(--accent-r,255),var(--accent-g,107),var(--accent-b,44), 0.15));
  transition: filter 0.35s ease, transform 0.35s ease;
}
.footer-brand .footer-logo:hover .footer-logo-img {
  transform: scale(1.04);
  filter: invert(1) drop-shadow(0 0 18px rgba(var(--accent-r,255),var(--accent-g,107),var(--accent-b,44), 0.55)) drop-shadow(0 0 40px rgba(var(--accent-r,255),var(--accent-g,107),var(--accent-b,44), 0.28));
}
.footer-brand p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 210px;
}

/* Center: Nav links — 2-column mini grid */
.footer-nav {
  grid-area: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.5rem;
  align-items: start;
}
.footer-nav-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
  grid-column: 1 / -1;
}
.footer-nav a {
  color: var(--muted2);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 0.22s ease, transform 0.22s ease;
  padding: 0.2rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.footer-nav a::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(var(--accent-r,255),var(--accent-g,107),var(--accent-b,44), 0.4);
  flex-shrink: 0;
  transition: background 0.22s ease, transform 0.22s ease;
}
.footer-nav a:hover {
  color: var(--white);
  transform: translateX(3px);
}
.footer-nav a:hover::before {
  background: var(--accent);
  transform: scale(1.4);
}

/* Right: Socials stacked */
.footer-socials {
  grid-area: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}
.footer-socials-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.1rem;
}
.footer-socials-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted2);
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.22, 0.68, 0, 1.2);
}
.footer-socials a:hover {
  background: rgba(var(--accent-r,255),var(--accent-g,107),var(--accent-b,44), 0.15);
  border-color: rgba(var(--accent-r,255),var(--accent-g,107),var(--accent-b,44), 0.4);
  color: var(--accent);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 20px rgba(var(--accent-r,255),var(--accent-g,107),var(--accent-b,44), 0.25);
}

/* Bottom row */
.footer-bottom {
  grid-area: bottom;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.77rem;
  color: var(--muted);
}
.footer-bottom span { color: var(--accent); font-weight: 600; }
.footer-bottom-links {
  display: flex;
  gap: 1.2rem;
}
.footer-bottom-links a {
  font-size: 0.77rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover { color: var(--white); }

/* ── Light theme overrides ── */
body.light-theme .site-footer { background: #f5f4f1; }
body.light-theme .site-footer::before {
  background: linear-gradient(90deg, transparent 0%, rgba(37,99,235,0.8) 30%, rgba(37,99,235,1) 50%, rgba(37,99,235,0.8) 70%, transparent 100%);
}
body.light-theme .site-footer::after {
  background: radial-gradient(ellipse at top center, rgba(37,99,235,0.07) 0%, transparent 65%);
}
body.light-theme .footer-logo-img { 
  filter: invert(0) drop-shadow(0 0 12px rgba(37,99,235,0.25)); 
}
body.light-theme .footer-brand .footer-logo:hover .footer-logo-img { 
  filter: invert(0) drop-shadow(0 0 18px rgba(37,99,235,0.5)); 
}
body.light-theme .footer-brand p { color: #6B7280; }
body.light-theme .footer-nav-title { color: #9CA3AF; }
body.light-theme .footer-nav a { color: #4B5563; }
body.light-theme .footer-nav a:hover { color: #111827; }
body.light-theme .footer-nav a::before { background: rgba(37,99,235,0.35); }
body.light-theme .footer-nav a:hover::before { background: #2563EB; }
body.light-theme .footer-socials-title { color: #9CA3AF; }
body.light-theme .footer-socials a { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.09); color: #4B5563; }
body.light-theme .footer-socials a:hover { background: rgba(37,99,235,0.12); border-color: rgba(37,99,235,0.4); color: #2563EB; box-shadow: 0 6px 20px rgba(37,99,235,0.2); }
body.light-theme .footer-bottom p { color: #9CA3AF; }
body.light-theme .footer-bottom-links a { color: #9CA3AF; }
body.light-theme .footer-bottom-links a:hover { color: #111827; }
body.light-theme .footer-cta-band { border-bottom-color: rgba(0,0,0,0.06); }
body.light-theme .footer-cta-text strong { color: #111827; }
body.light-theme .footer-cta-text span { color: #6B7280; }
body.light-theme .footer-status { background: rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.25); color: #2563EB; }
body.light-theme .footer-status::before { background: #2563EB; box-shadow: 0 0 8px rgba(37,99,235,0.8); }
body.light-theme .footer-cta-actions .fcta-primary { background: #2563EB; box-shadow: 0 4px 16px rgba(37,99,235,0.35); }
body.light-theme .footer-cta-actions .fcta-primary:hover { box-shadow: 0 8px 24px rgba(37,99,235,0.5); }
body.light-theme .footer-cta-actions .fcta-ghost { color: #4B5563; border-color: rgba(0,0,0,0.12); }
body.light-theme .footer-cta-actions .fcta-ghost:hover { color: #111827; border-color: rgba(0,0,0,0.2); background: rgba(0,0,0,0.04); }

/* ── Responsive footer ── */
@media(max-width:768px) {
  .footer-cta-band { flex-direction: column; align-items: flex-start; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      'left right'
      'center center'
      'bottom bottom';
    gap: 1.5rem 2rem;
    padding: 2.5rem 1.5rem 1.5rem;
  }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-socials { align-items: flex-end; }
  .footer-socials-row { justify-content: flex-end; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 0.6rem; }
}
@media(max-width:480px) {
  .footer-inner {
    grid-template-columns: 1fr;
    grid-template-areas: 'left' 'center' 'right' 'bottom';
    gap: 1.5rem;
    padding: 2rem 1.2rem 1.5rem;
    text-align: center;
  }
  .footer-brand { align-items: center; }
  .footer-brand p { max-width: 100%; }
  .footer-nav { grid-template-columns: 1fr 1fr; justify-items: center; }
  .footer-nav-title { text-align: center; }
  .footer-socials { align-items: center; }
  .footer-socials-row { justify-content: center; }
  .footer-bottom-links { justify-content: center; }
  .footer-cta-actions { justify-content: center; }
}

/* ════ LIGHT THEME (MILK & BLUE) ════ */
body.light-theme {
  --bg: #FAF9F6;
  --bg2: #FFFFFF;
  --bg3: #F3F2EF;
  --card: #FFFFFF;
  --card2: #F8F9FA;
  --border: #E5E7EB;
  --border2: #D1D5DB;
  --accent: #2563EB;
  --accent-r: 37;
  --accent-g: 99;
  --accent-b: 235;
  --accent2: #1D4ED8;
  --accent-light: #60A5FA;
  --accent-dark: #1E40AF;
  --text: #1F2937;
  --muted: #374151;
  --muted2: #6B7280;
  --white: #111827;
  --ga: 0 0 24px rgba(37,99,235,.2);
}

body.light-theme .top-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05); /* Rectangle box shadow */
}
body.light-theme .top-header::before {
  border-left-color: rgba(0, 0, 0, 0.06);
  border-right-color: rgba(0, 0, 0, 0.06);
}
body.light-theme .top-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
body.light-theme .top-header.scrolled::before {
  border-color: rgba(0, 0, 0, 0.1);
}
body.light-theme .header-nav ul { 
  background: rgba(0, 0, 0, 0.03); 
  border: 1px solid rgba(0, 0, 0, 0.06);
}
body.light-theme .header-nav a { color: #4B5563; }
body.light-theme .header-nav a:hover { 
  color: #1F2937; 
  background: rgba(0, 0, 0, 0.06);
}
body.light-theme .header-nav a.active {
  color: #2563EB;
  background: rgba(37, 99, 235, 0.12);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.25);
}
  
body.light-theme .pcard, body.light-theme .ecard, body.light-theme .tl-body, body.light-theme .lead-card, body.light-theme .stat {
  background: rgba(255, 255, 255, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 
    0 10px 32px rgba(0, 0, 0, 0.04),
    inset 1.5px 1.5px 3px rgba(255, 255, 255, 1),
    inset -1.5px -1.5px 4px rgba(0, 0, 0, 0.03) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-radius: 16px;
}
body.light-theme .pcard:hover, body.light-theme .ecard:hover {
  border-color: rgba(37, 99, 235, 0.4) !important;
  box-shadow: 
    0 14px 40px rgba(37, 99, 235, 0.12), 
    0 0 0 1px rgba(37, 99, 235, 0.2),
    inset 1.5px 1.5px 3px rgba(255, 255, 255, 1),
    inset -1.5px -1.5px 4px rgba(0, 0, 0, 0.03) !important;
}

/* ═══ EXPERIENCE PAGE — light overrides ═══ */
body.light-theme .timeline-card {
  background: rgba(255,255,255,0.7) !important;
  border: 1px solid rgba(255,255,255,0.8) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05), inset 1px 1px 2px #fff, inset -1px -1px 3px rgba(0,0,0,0.02) !important;
  backdrop-filter: blur(12px);
}
body.light-theme .timeline-card:hover {
  border-color: rgba(37, 99, 235, 0.4) !important;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15) !important;
}
body.light-theme .action-widget {
  background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(243,242,239,0.98) 100%) !important;
  border-color: rgba(37, 99, 235, 0.12) !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06) !important;
}
body.light-theme .btn-secondary {
  background: rgba(37, 99, 235, 0.05) !important;
  border-color: rgba(37, 99, 235, 0.2) !important;
  color: #2563EB !important;
}
body.light-theme .tech-tag {
  color: #2563EB !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
}

/* ═══ SKILLS PAGE — light overrides ═══ */
body.light-theme .skill-card {
  background: rgba(255,255,255,0.6) !important;
  border: 1px solid rgba(255,255,255,0.9) !important;
  box-shadow: 0 6px 15px rgba(0,0,0,0.04), inset 1px 1px 2px #fff, inset -1px -1px 2px rgba(0,0,0,0.03) !important;
  color: #1F2937 !important;
  backdrop-filter: blur(12px);
}
body.light-theme .skill-card:hover {
  background: #F8F9FA !important;
  border-color: #2563EB !important;
}
body.light-theme .item-hints .hint-content {
  background: #FFFFFF !important;
  color: #1F2937 !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important;
}
body.light-theme .item-hints .hint-dot {
  background: #F8F9FA !important;
}
body.light-theme .item-hints .hint-radius {
  background-color: rgba(37, 99, 235, 0.15) !important;
}

/* ═══ PROJECTS PAGE — light overrides ═══ */
body.light-theme .u-card {
  background: rgba(255,255,255,0.6) !important;
  border: 1px solid rgba(255,255,255,0.9) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05), inset 1px 1px 2px #fff, inset -1px -1px 3px rgba(0,0,0,0.03) !important;
  backdrop-filter: blur(16px);
}
body.light-theme .u-card:hover {
  border-color: rgba(37, 99, 235, 0.4) !important;
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.12) !important;
}
body.light-theme .u-card__top {
  background: #EFF2F7 !important;
  border-color: #E5E7EB !important;
}
body.light-theme .u-card__top-bar {
  background: linear-gradient(to top, rgba(239,242,247,0.95) 0%, rgba(239,242,247,0.6) 70%, transparent 100%) !important;
}
body.light-theme .u-card__stat { color: rgba(31,41,55,0.75) !important; }
body.light-theme .u-card__bottom { background: #FFFFFF !important; }
body.light-theme .u-card__title { color: #111827 !important; }
body.light-theme .u-card__btn { color: #2563EB !important; }
body.light-theme .filter-tab {
  background: #FFFFFF !important;
  border-color: #D1D5DB !important;
  color: #4B5563 !important;
}
body.light-theme .filter-tab:hover {
  background: rgba(37,99,235,0.06) !important;
  border-color: #2563EB !important;
  color: #2563EB !important;
}
body.light-theme .filter-tab.active {
  background: #2563EB !important;
  border-color: #2563EB !important;
  color: #FFFFFF !important;
}

/* ═══ BLOGS PAGE — light overrides ═══ */
body.light-theme .blog-card {
  background: #FFFFFF !important;
  border-color: rgba(37, 99, 235, 0.15) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.07) !important;
  color: #1F2937 !important;
}
body.light-theme .blog-card:hover {
  border-color: #2563EB !important;
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.15) !important;
}
body.light-theme .link-preview-box {
  background: #F3F4F6 !important;
  border-color: rgba(0,0,0,0.08) !important;
}
body.light-theme .blog-card:hover .link-preview-box {
  border-color: rgba(37, 99, 235, 0.35) !important;
}
body.light-theme .preview-img-container { background: #2563EB !important; }
body.light-theme .preview-text-bar { background: rgba(0,0,0,0.02) !important; }
body.light-theme .profile-cta-card {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 60%, #EFF6FF 100%) !important;
  border-color: rgba(37, 99, 235, 0.35) !important;
  box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1) !important;
}
body.light-theme .profile-cta-card:hover {
  border-color: rgba(37, 99, 235, 0.7) !important;
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2) !important;
}
body.light-theme .img-skeleton {
  background: linear-gradient(90deg, #E5E7EB 25%, #F3F4F6 50%, #E5E7EB 75%) !important;
}
body.light-theme .user-name { color: #111827 !important; }
body.light-theme .post-main-title { color: #111827 !important; }

/* ═══ INDEX PAGE — Connect & Explore stack-cards ═══ */
body.light-theme .stack-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #F8F9FA 100%) !important;
  border-color: rgba(37, 99, 235, 0.2) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07) !important;
}
body.light-theme .stack-card:hover {
  border-color: rgba(37, 99, 235, 0.4) !important;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.12) !important;
}
body.light-theme .stack-content h3 { color: #111827 !important; }
body.light-theme .stack-icon {
  background: rgba(37, 99, 235, 0.08) !important;
  border-color: rgba(37, 99, 235, 0.2) !important;
}

/* ═══ INDEX PAGE — Recognition cards ═══ */
body.light-theme .rec-card {
  background: #FFFFFF !important;
  border-color: #E5E7EB !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}
body.light-theme .rec-card:hover {
  border-color: rgba(37, 99, 235, 0.3) !important;
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.1) !important;
}
body.light-theme .rec-title { color: #111827 !important; }
body.light-theme .rec-icon {
  background: rgba(37, 99, 235, 0.07) !important;
  border-color: rgba(37, 99, 235, 0.15) !important;
}
