@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&family=Share+Tech+Mono&display=swap');

/* 🎯 Main Button Wrapper */
/* === 🌈 Portfolio + SourceHut Buttons Global === */

.logo-badge-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem; 
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.logo-container,
.badge-container {
  max-width: 200px;
}

.logo-container img,
.badge-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px; 
}

.portfolio-btn-wrapper {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.portfolio-btn {
  background: linear-gradient(90deg, #00ffe5, #ff66cc, #ffa500);
  color: #ffffff;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.1rem;
  padding: 0.8rem 1.4rem;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 400px;
  width: auto;
  box-shadow: 0 0 8px #00ffe5, 0 0 12px #ff66cc;
  transition: all 0.3s ease;
}

.portfolio-btn:hover {
  box-shadow: 0 0 10px #ff66cc, 0 0 25px #00ffe5;
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .nav-spacer { height: 6rem; } 
}


/* 🌈 Soft Skills Radar Chart Section */
#soft-skills {
  margin: 3rem auto;
  padding: 1rem;
  overflow-x: hidden;
  position: relative;
  max-width: 100%;
  box-sizing: border-box;
}
#soft-skills p {
  text-align: center;
  font-size: 1.2rem;
  color: #2c003e;
  max-width: 650px;
  margin: 0 auto 1.5rem;
}


#soft-skills h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 0.8rem;
  font-family: 'Orbitron', sans-serif;
  color: #ff66cc;
  text-shadow: 0 0 12px #ff66cc, 0 0 20px #00ffe5;
}


/* 🎨 Chart canvas container */
.chart-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 100vw; 
  max-height: 600px;
  margin: 0 auto;
  background: linear-gradient(135deg, #ffd6fa 0%, #d0ccff 100%);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 0 20px rgba(255, 150, 255, 0.3);
  animation: soft-chart-glow 6s ease-in-out infinite;
  box-sizing: border-box;
}

#softSkillsChart {
  width: 100% !important;
  height: 100% !important;
  display: block;
}


/* ✨ Chart glow animation */
@keyframes soft-chart-glow {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(255, 100, 255, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(255, 180, 255, 0.6));
  }
}

/* 🪐 Glowing halo rings */
.halo-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.4;
}

/* ✨ Halo container */
.halo-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10;
}

/* 📝 Tooltip for milestones */
.chartjs-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.8rem;
  pointer-events: none;
  word-wrap: break-word;
  line-height: 1.4;
  z-index: 999;
  word-break: break-word;
  max-width: 90vw;
  white-space: pre-line !important; 
  overflow-wrap: break-word;
  text-align: left;
  font-size: 14px;
  box-shadow: 0 0 10px #ff66cc66;
}

/* 📱 Mobile Adjustments */
@media (max-width: 768px) {
  .chart-container {
    padding: 0.75rem;
    max-width: 100%;
  }

  #soft-skills h2 {
    font-size: 1.2rem;
  }

  #soft-skills p {
    font-size: 0.70rem;
    padding: 0 0.5rem;
  }

  .chartjs-tooltip {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .chart-container {
    padding: 0.5rem;
    max-width: 100%;
  }

  #soft-skills h2 {
    font-size: 1.2rem;
  }

  #soft-skills p {
    font-size: 0.7rem;
  }

  .chartjs-tooltip {
    font-size: 12.5px;
  }
}

/* Featured grid */
.projects-grid.featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Card styling */
.project-card {
  background: rgba(30, 30, 45, 0.8);
  padding: 1rem;
  border-radius: 1rem;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: transform 0.2s, box-shadow 0.2s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.project-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

.project-card p {
  color: #fff;
}

.project-card .tag {
  display: block;
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 0.5rem;
}
.card-ctas .btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 1rem;
}


/* 🌐 DESKTOP Default Nav */
/* NAV BAR CONTAINER */
.top-nav {
  position: fixed;
  margin-bottom: 2.5rem;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 160px);
  display: flex;
  justify-content: space-around;   
  align-items: center;
  background: rgba(16, 2, 42, 0.82);
  padding: 0.6rem 1rem;
  border: 2px solid #ff66cc;
  border-radius: 0 0 10px 10px;
  box-sizing: border-box;
  backdrop-filter: blur(6px);
  z-index: 10000;
  gap: 0.5rem; 
}

.top-nav a {
  color: #ffeb3b;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;   
  font-family: 'Share Tech Mono', monospace;
  line-height: 1.2;
  text-align: center;
  padding: 0.4rem 0.6rem;
  transition: color 0.2s, text-shadow 0.2s;
  white-space: normal;      
  word-break: break-word;
}


@media (max-width: 980px) {
  .top-nav a { font-size: 0.98rem; }
}


.top-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #00ffe5;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.top-nav a:hover {
  color: #fff;
  text-shadow: 0 0 6px #ff66cc, 0 0 8px #00ffe5;
}

.top-nav a:hover::after {
  transform: scaleX(1);
}


@media (max-width: 768px) {
  .top-nav {
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.8rem 1rem;
    border-radius: 0 0 12px 12px;
    box-sizing: border-box;
    background: rgba(20, 20, 40, 0.95);
    border: 2px solid #ff66cc;
    border-top: none;
    gap: 0.4rem;
    backdrop-filter: blur(8px);
  }

  .top-nav a {
    font-size: 0.9rem !important;
    padding: 0.3rem 0.5rem;
    word-break: break-word;
  }

  .nav-spacer {
    height: 6rem;
  }
}


body {
  background: url('https://upload.wikimedia.org/wikipedia/commons/3/3d/Uranus2.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #f8f8f8;
  font-family: 'Share Tech Mono', monospace;
  margin: 4rem auto;
  max-width: 980px;
  line-height: 1.8;
  padding: 2.5rem 3rem;
  padding-top: 2.5rem;
  box-shadow: 0 0 40px #ff66cc;
  border: 3px solid #ff66cc;
  border-radius: 20px;
  font-size: 1.0rem;
  backdrop-filter: blur(6px) brightness(0.9);
  background-blend-mode: overlay;
}

/* 📱 mobile-only: */
@media (max-width: 768px) {
  body {
    padding-top: 6rem; 
  }
}


a {
  color: #ffeb3b;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  transition: text-shadow 0.3s ease-in-out;
}

a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: #ffeb3b;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out;
}

a:hover {
  text-shadow: 0 0 8px #ffeb3b, 0 0 14px #ffeb3b;
}

a:hover::after {
  visibility: visible;
  transform: scaleX(1);
}

h1, h2, h3 {
  font-family: 'Orbitron', sans-serif;
  color: #ff66cc;
  text-shadow: 0 0 12px #ff66cc, 0 0 20px #00ffe5;
}

h1 {
  font-size: 3rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  border-bottom: 3px solid #ff66cc;
  padding-bottom: 0.5rem;
}

ul {
  list-style-type: square;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.75rem;
}

em {
  color: #89f0ff;
  font-style: italic;
}

footer {
  text-align: center;
  margin-top: 4rem;
  color: #aaa;
  font-size: 1rem;
  border-top: 1px solid #333;
  padding-top: 1.5rem;
}

::selection {
  background: #ffeb3b;
  color: #1a0033;
}

.highlight-btn-wrapper {
  text-align: center;
  margin: 2rem 0;
}

.highlight-btn {
  display: inline-block;
  background:#ff0088;
  color: #1a1a2f;
  font-weight: bold;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow:
    0 0 10px #ffe600,
    0 0 20px #fffb00c5,
    0 0 30px #eeff00;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

.highlight-btn:hover {
  background: #ff0088;
  transform: scale(1.05);
  box-shadow:
    0 0 15px #ff99dd,
    0 0 30px #ff66ccaa;
}

/* === SIDE COLUMNS === */
.side-column {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 60px;
  overflow: visible;
  z-index: 100;
  pointer-events: none;
}
.left-column { left: 0; }
.right-column { right: 0; }

/* === SCROLLING ICONS === */
.scrolling-icon {
  position: absolute;
  width: 50px;
  height: auto;
  left: 5px;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
  z-index: 1;
  opacity: 0;
}

/* === ROCKET === */
.rocket {
  animation-name: rocketScroll, fadeInOut;
  animation-duration: 20s, 20s;
  filter: drop-shadow(0 0 4px magenta) drop-shadow(0 0 8px magenta);
}

/* === ALIEN === */
.alien {
  animation-name: alienScroll, fadeInOut;
  animation-duration: 20s, 20s;
  filter: drop-shadow(0 0 4px yellow) drop-shadow(0 0 8px yellow);
}

/* === FADE IN/OUT === */
@keyframes fadeInOut {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { opacity: 0; }
}

/* === MOVEMENT === */
@keyframes rocketScroll {
  0%   { top: 100%; }
  100% { top: -60px; }
}

@keyframes alienScroll {
  0%   { top: -60px; }
  100% { top: 100%; }
}


/* HIGHLIGHT BLOCK */

.highlight-block {
  background-color: #ffeb3b;
  color: #111;
  display: block;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 0 10px #ffeb3baa, 0 0 20px #ffeb3b55;
  text-align: center;
}

.highlight-block ul {
  list-style-type: square;
  padding-left: 1.5rem;
  margin-top: 1rem;
  text-align: left;
}

.highlight-block li {
  margin-bottom: 0.75rem;
  color: #111;
  font-weight: normal;
  text-shadow: none;
}

.highlight-block p {
  text-align: left;
  margin-top: 1rem;
  line-height: 1.7;
}

/* Rainbow Glow for <strong> */

.highlight-block strong {
  font-weight: 700;
  color: #ffffff;
  animation: rainbowGlow 3s infinite ease-in-out;
}

/* Rainbow Glow Animation */

@keyframes rainbowGlow {
  0% {
    text-shadow:
      0 0 4px #ff0080,
      0 0 6px #ff8c00,
      0 0 8px #ffff00,
      0 0 10px #00ff00,
      0 0 12px #00ffff,
      0 0 14px #0000ff,
      0 0 16px #8a2be2;
  }
  50% {
    text-shadow:
      0 0 8px #8a2be2,
      0 0 10px #0000ff,
      0 0 12px #00ffff,
      0 0 14px #00ff00,
      0 0 16px #ffff00,
      0 0 18px #ff8c00,
      0 0 20px #ff0080;
  }
  100% {
    text-shadow:
      0 0 4px #ff0080,
      0 0 6px #ff8c00,
      0 0 8px #ffff00,
      0 0 10px #00ff00,
      0 0 12px #00ffff,
      0 0 14px #0000ff,
      0 0 16px #8a2be2;
  }
}

/* === 📟 Command Button === */
.command-btn {
  background-color: #111;
  color: #ffeb3b;
  border: 2px solid #ffeb3b;
  font-family: 'Share Tech Mono', monospace;
  padding: 0.4rem 0.9rem;
  margin-top: 1.1rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.command-btn:hover {
  background-color: #ffeb3b;
  color: #111;
  box-shadow: 0 0 8px #ffeb3b88;
}

/* === 💻 Command Output === */
.command-output {
  transition: opacity 1s ease-in-out, transform 0.3s ease-in-out;
  opacity: 1;
  max-width: 600px;
  margin: 1.5rem auto;
  padding: 1.2rem;
  border: 2px solid #00ffe5;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #00ffe5;
  font-family: monospace;
  white-space: pre-wrap;
  text-shadow: 0 0 6px #00ffe5;
  box-shadow: 0 0 12px #00ffe544;
  animation: pulseCyan 2.5s infinite;
}

/* === 🌊 Cyan Pulse Animation === */
@keyframes pulseCyan {
  0% {
    box-shadow: 0 0 6px #00ffe5, 0 0 12px #00ffe588;
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 12px #00ffe5, 0 0 20px #00ffe5cc;
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 6px #00ffe5, 0 0 12px #00ffe588;
    transform: scale(1);
  }
}

/* === 👻 Fade-Out for Auto-Remove === */
.command-output.fade-out {
  opacity: 0;
  transform: scale(0.98);
}


/* ✨ Fade-in and fade-out */
@keyframes fadeScroll {
  0% { opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; }
}


/* 🎧 Music Toggle Button */
#music-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #ff66cc, #ffd700 ,#ff0088, #ff66cc);
  background-size: 400% 400%;
  animation: gradientShift 6s ease infinite;
  box-shadow: 0 0 10px #ffd70088, 0 0 12px #ff66cc88, 0 0 14px #ff0088;
  transition: transform 0.2s ease;
  overflow: hidden;
}

.music-button-wrapper {
  position: fixed;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 1001; 
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

/* 🎶 Animated Gradient */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 🎵 Soundwave Rings */
.soundwave-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.4);
  border: 1.5px solid;
  border-radius: 50%;
  pointer-events: none;
  animation: pulseRing 2.5s infinite;
  opacity: 0;
  mix-blend-mode: screen;
}

.ring1 {
  width: 40px;
  height: 40px;
  animation-delay: 0s;
  border-color: #ff66cc;
  box-shadow: 0 0 4px #ff66cc88;
}
.ring2 {
  width: 48px;
  height: 48px;
  animation-delay: 0.6s;
  border-color: #ff0088;
  box-shadow: 0 0 4px #ff0088;
}
.ring3 {
  width: 56px;
  height: 56px;
  animation-delay: 1.2s;
  border-color: #ffd700;
  box-shadow: 0 0 4px #ffd70088;
}

/* 💫 Soundwave Animation */
@keyframes pulseRing {
  0% {
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 0.8;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}


/* Sitemap Styles */

.sitemap {
  margin-top: 3rem;
  padding: 2rem;
  border: 2px solid #00ffe5;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 20px #00ffe544;
  text-align: center;
}

.sitemap-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  color: #ff66cc;
  text-shadow: 0 0 10px #ff66cc, 0 0 20px #00ffe5;
  margin-bottom: 1.5rem;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 1.2rem;
}

.sitemap-grid a {
  font-weight: bold;
}

.sitemap-box {
  display: block;
  background-color: rgba(255, 235, 59, 0.1);
  color: #ffeb3b;
  padding: 1rem;
  border: 2px solid #ffeb3b;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px #ffeb3b33;
}

.sitemap-box:hover {
  background-color: #ffeb3b;
  color: #111;
  box-shadow: 0 0 12px #ffeb3b;
}

/* Highlight‐block button */

.highlight-block .highlight-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(45deg, #ff6ef5, #ffe66d, #6effd5);
  color: #111;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.highlight-block .highlight-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

/* Trans Logo */

.trans-logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.trans-logo-wrapper {
  background-color: rgba(0, 0, 0, 0.058);
  border-radius: 20px;
  padding: 1.2rem;
  animation: shimmerGlow 3s infinite ease-in-out;
  transition: all 0.3s ease-in-out;
  max-width: 280px;
  z-index: 1;
  position: relative;
}

.trans-logo-wrapper:hover {
  animation: none !important;
  box-shadow:
    0 0 12px #ff66cc,
    0 0 20px #6effd5,
    0 0 30px #ffeb3b,
    0 0 40px #00ffe5 !important;
  transform: scale(1.05);
}

.trans-logo-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  position: relative;
  z-index: 1; 
}

.trans-logo {
  position: relative;
  overflow: hidden;
  display: inline-block;
  z-index: 1;
}

.trans-logo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  position: relative;
  z-index: 2;
}

.shimmer-overlay {
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  transform: skewX(-25deg);
  animation: shimmer 2.5s infinite;
  z-index: 3;
  pointer-events: none;
}

/* Animation Keys */

@keyframes shimmer {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

@keyframes shimmerGlow {
  0% {
    box-shadow:
      0 0 8px #ff66cc,
      0 0 12px #6effd5,
      0 0 16px #ffeb3b;
  }
  50% {
    box-shadow:
      0 0 16px #ff66cc,
      0 0 24px #6effd5,
      0 0 32px #00ffe5;
  }
  100% {
    box-shadow:
      0 0 8px #ff66cc,
      0 0 12px #6effd5,
      0 0 16px #ffeb3b;
  }
}

.site-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  text-align: center;
  margin-top: 1rem;
  color: #ffffff;
  text-shadow: 
    0 0 5px #ff66cc,
    0 0 10px #6effd5,
    0 0 15px #ffeb3b;
  animation: glowTitle 3s ease-in-out infinite;
}

@keyframes glowTitle {
  0% {
    text-shadow:
      0 0 5px #ff66cc,
      0 0 10px #6effd5,
      0 0 15px #ffeb3b;
  }
  50% {
    text-shadow:
      0 0 10px #ff66cc,
      0 0 20px #6effd5,
      0 0 30px #00ffe5;
  }
  100% {
    text-shadow:
      0 0 5px #ff66cc,
      0 0 10px #6effd5,
      0 0 15px #ffeb3b;
  }
}

#sparkle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.site-footer {
  text-align: center;
  margin-top: 4rem;
  padding: 1rem;
  font-size: 1.2rem; 
  color: #ffeb3b;
  border-top: 1px solid #ffeb3b;
  text-shadow: 0 0 5px #ff66cc, 0 0 10px #ff66cc;
}



/* Make the All‑Projects links visible */
#projects .sitemap-grid a {
  display: inline-block;
  margin: 0.5rem 1rem;
  color: #222222 !important;          
  font-size: 1.05rem;                 
  opacity: 1 !important;    
  text-decoration: underline;       
  z-index: 1;                     
}


/* MOBILE */

/* ✨ Mobile – Up to 768px */
@media (max-width: 768px) {

  /* 📍 Side Columns & Emojis */
  .left-column {
    left: 0;
    transform: translateX(-4px);
  }

  .right-column {
    right: 0;
    transform: translateX(4px); 
  }

  /* 📚 Project List – Mobile Spacing Adjustment */
  .project-list li {
    margin-bottom: 0.5rem !important; 
    line-height: 1.3 !important;      
    display: flex;
    flex-direction: column;
    gap: 1rem; 
    font-weight: bold;
  }

  .project-list a {
    font-size: 0.95rem !important;
    font-weight: bold;
  }

  /* 🌠 Animated Icons */
  .scrolling-icon {
    width: 30px !important;
    z-index: 9999 !important;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
  }


  /* 📎 CTA Buttons */
  .highlight-btn-wrapper .highlight-btn,
  .highlight-block#report .highlight-btn {
    font-size: 0.9rem !important;
    padding: 0.6rem 1rem !important;
    border-radius: 10px !important;
    max-width: 260px;
    width: 90%;
    margin: 1rem auto !important;
    display: block;
    text-align: center;
  }

  /* 🎵 Floating Music Toggle */
#music-toggle-wrapper {
  position: fixed;
  top: 0.3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10001;
  margin-top: 0 !important; /* <- just in case */
}

#music-toggle {
  font-size: 1.6rem;
  background: transparent;
  border: none;
  cursor: pointer;
  filter: drop-shadow(0 0 6px #ffe100) drop-shadow(0 0 12px #ff6ec7);
}


  #music-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px #ffe100, 0 0 18px #ff66cc;
  }

  /*  GitLab Report Block */
  .highlight-block#report {
    max-width: 95%;
    padding: 1rem;
  }

  /*  Tattoo Portfolio */
  .highlight-btn-wrapper {
    margin: 1.5rem auto;
    text-align: center;
    max-width: 95%;
  }

/* ===========================
   MicroTCU-9 Widget (Desktop/Base)
   =========================== */
#micro-widget {
  padding: 2rem 1rem 0 1rem;
  max-width: 95% !important;
  margin: 0 auto !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  overflow: hidden;
}

#micro-widget h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

#micro-widget img {
  width: 70px;
  margin-bottom: 0.5rem;
}

#micro-terminal {
  padding: 1rem 1rem 0 1rem;
  margin-bottom: 0 !important;
  border-bottom: none !important;
}

#terminal-output {
  font-size: 0.85rem;
  min-height: 36px;
}

#terminal-input {
  font-size: 0.9rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0 !important;
}

/* ===========================
   Heroes You Should Know About
   =========================== */
#toggle-heroes {
  font-size: 1rem !important;
  padding: 0.6rem 1rem !important;
  border-radius: 8px !important;
  box-shadow: 0 0 6px #ff6ec7, 0 0 12px #ffe10080 inset;
}

#heroes-content h3 {
  font-size: 1.05rem !important;
}

#heroes-content li {
  font-size: 0.85rem !important;
  line-height: 1.4;
  padding-left: 1.6rem;
  max-width: 95%;
  margin: 0 auto;
}

#heroes-content li::before {
  font-size: 0.9rem !important;
}

/* ===========================
   Sitemap Styles
   =========================== */
.sitemap-box,
.sitemap-grid a {
  display: block;
  margin-bottom: 0.15rem !important;
  line-height: 1.1 !important;
  font-size: 0.75rem !important;
  padding: 0.2rem 0.3rem !important;
}

.sitemap-title {
  font-size: 1rem !important;
}

/* ===========================
   Project Cards
   =========================== */
.project-card {
  font-size: 0.7rem !important;
  padding: 0.5rem !important;
}

.project-card .btn,
.cta-button {
  font-size: 0.7rem !important;
  padding: 0.5rem 0.7rem !important;
}

.highlight-block {
  font-size: 0.75rem !important;
  padding: 0.6rem !important;
}

/* ===========================
   Terminal Font Scaling
   =========================== */
.terminal,
.terminal-content,
.terminal-output {
  font-size: 0.7rem !important;
  line-height: 1.4 !important;
}

/* ===========================
   Footer
   =========================== */
.footer,
.site-footer {
  font-size: 0.75rem !important;
  padding-top: 0.8rem !important;
}

/* ✅ Fix mobile section widths (base so it also applies on desktop themes) */
.highlight-block,
.sitemap,
#micro-widget,
.project-card,
.cta-button,
#toggle-heroes {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 12px;
}

body {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* =========================================
   Mobile Overrides – Up to 768px (Single MQ)
   ========================================= */
@media screen and (max-width: 768px) {
  /* Layout fixes */
  .left-column {
    left: 0 !important;
    transform: translateX(-4px) !important;
  }

  .right-column {
    right: 0 !important;
    transform: translateX(20px) !important;
  }

  .scrolling-icon {
    position: absolute !important;
    width: 30px !important;
    opacity: 1 !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
    animation-fill-mode: forwards !important;
  }

  .rocket {
    filter: drop-shadow(0 0 10px magenta) drop-shadow(0 0 18px magenta) !important;
    z-index: 9999;
  }

  .alien {
    filter: drop-shadow(0 0 10px yellow) drop-shadow(0 0 18px yellow) !important;
    z-index: 9999;
  }

  .sitemap-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }

  .music-button-wrapper {
    position: fixed !important;
    top: 0.3rem !important;
    right: 0.3rem !important;
    left: auto !important;
    transform: none !important;
    z-index: 10001 !important;
    pointer-events: auto !important;
  }

  #music-toggle {
    font-size: 1.2rem !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0.2rem !important;
    filter: drop-shadow(0 0 6px #f3f3f1) drop-shadow(0 0 12px #ff11cb) !important;
  }

  #music-icon {
    width: 16px !important;
    height: 16px !important;
    filter: brightness(0) invert(1)
            drop-shadow(0 0 4px #fff)
            drop-shadow(0 0 8px #b119c5) !important;
  }

  #music-toggle:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 0 8px #ffffff, 0 0 14px #ff66c4 !important;
  }

  .top-nav {
    z-index: 10000 !important;
  }

  /* 📱 Portfolio button adjustments */
  .portfolio-btn-wrapper {
    flex-direction: column;
    align-items: center;
    margin-top: 7rem;
  }

  .portfolio-btn {
    font-size: 1rem !important;
    padding: 1rem 1.25rem !important;
    width: 90% !important;
    max-width: 90vw;
    box-sizing: border-box;
    line-height: 1.4;
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
  }

  /* Optional: slightly smaller Micro widget typography on phones */
  #micro-widget h2 {
    font-size: 1.5rem;
  }
  #terminal-output { font-size: 0.8rem; }
  #terminal-input  { font-size: 0.85rem; }
}
}
