/* container that scrolls only the songs */
.music-scroll {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}


.music-card {
  margin-bottom: 12px;
}

.music-scroll::-webkit-scrollbar {
  width: 6px;
}

.music-scroll::-webkit-scrollbar-track {
  background: var(--card);
}

.music-scroll::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 3px;
}

.music-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--text);
}

:root.light-theme {
  --bg: #757575;
  --panel: #757575;
  --text: #121316;
  --muted: #3d434d;
  --card: #757575;
  --border: rgba(0, 0, 0, .15);
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: rgba(0, 0, 0, 0.08);
}


:root {
  --bg: #0a0a0a;
  --panel: #121316;
  --text: #e8ecf1;
  --muted: #9aa3b2;
  --accent: #ff6b6b;
  --card: #16181d;
  --border: rgba(255, 255, 255, .08);
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02));
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-shadow: rgba(0, 0, 0, 0.3);

  --neon-pink: #ff3cac;
  --neon-green: #39ff14;
  --neon-blue: #00e7ff;

  --container: 1100px;
}

* {
  box-sizing: border-box
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: transparent;
  /* transparent so #bg3d canvas renders behind body content */
  color: var(--text);
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* GPU Hardware Acceleration & Smooth 60-120 FPS Performance */
#bg3d,
[data-tilt],
.cyber-panel-3d,
.btn-3d,
.site-header,
.bento-card,
.welcome-card {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}

img {
  max-width: 100%;
  display: block;
  content-visibility: auto;
}

.container {
  max-width: 100% !important;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px)
}

.section {
  padding-block: 64px
}

h1,
h2,
h3 {
  margin: 0 0 10px
}

p {
  margin: 0 0 14px;
  color: var(--muted)
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  width: max-content;
  max-width: calc(100vw - 24px);
  margin: 0;
  box-sizing: border-box;
  border-radius: 50px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px var(--glass-shadow), inset 0 1px 2px rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}

.header-inner {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 14px;
}

.brand {
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  margin-left: 4px;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center
}

.nav a {
  color: var(--text);
  text-decoration: none;
  opacity: .8;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
  padding: 6px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

.nav a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
}

.nav a.active {
  background: var(--glass-bg);
  box-shadow: 0 4px 12px var(--glass-shadow), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  opacity: 1;
  font-weight: 600;
}

.nav-divider {
  width: 1px;
  height: 20px;
  background: var(--glass-border);
  margin: 0 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none
}

@media (max-width:900px) {
  .site-header {
    width: calc(100vw - 24px);
    max-width: 520px;
  }

  .header-inner {
    gap: 8px;
    padding: 0 10px;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.85rem;
  }

  .nav {
    position: absolute;
    right: 12px;
    top: 60px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 200px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    z-index: 100000;
  }

  .nav[hidden] {
    display: none
  }
}

.hero {
  padding-top: clamp(100px, 12vh, 130px);
  padding-bottom: 40px;
}

.hero-grid {
  display: grid;
  gap: clamp(20px, 4vw, 48px);
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

.hero-left h1 {
  font-size: clamp(28px, 5vw, 54px);
  line-height: 1.1
}

.accent {
  color: var(--accent)
}

.roles {
  color: #ff7a59
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.hero-right {
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .15), inset 0 1px 0 var(--glass-border);
}

.hero-right img {
  height: 100%;
  width: 100%;
  object-fit: cover
}

@media (max-width:900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-row {
    justify-content: center;
  }

  .cta-row .btn {
    flex: 1 1 auto;
    max-width: 100%;
    min-width: 140px;
    justify-content: center;
  }
}

/* CSS Performance Rendering Containment */
.section,
.music-wrap,
.bento-grid,
.projects-grid,
.timeline-container {
  content-visibility: auto;
  contain-intrinsic-size: 1px 400px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

@media (max-width:900px) {
  .cards {
    grid-template-columns: 1fr
  }
}

.contact-form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.contact-form .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-form .block {
  display: block;
  margin-bottom: 12px
}

label span {
  display: block;
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 6px
}

input,
textarea {
  width: 100%;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: #2fc1ff;
  box-shadow: 0 0 0 3px rgba(47, 193, 255, .2)
}

@media (max-width:900px) {
  .contact-form .grid {
    grid-template-columns: 1fr
  }
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--bg);
  background: var(--text);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn.small {
  padding: 8px 14px;
  font-weight: 600
}

.btn.outline {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border)
}


.neon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid currentColor;
  background: transparent;
  color: rgb(255, 0, 0);
  transition: all .2s ease;
}

.neon:hover {
  background: currentColor;
  background-color: #000000;
  box-shadow: 0 0 15px currentColor,
    0 0 15px currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .35s ease, transform .3s ease
}

.reveal.show {
  opacity: 1;
  transform: translateY(0)
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 22px 0;
  margin-top: 32px
}

.footer-inner {
  display: flex;
  justify-content: center
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

@media (max-width:900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    right: 16px;
    top: 64px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 180px;
  }

  .nav[hidden] {
    display: none;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.theme-toggle {
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
}

.theme-icon {
  display: inline-block;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .4));
}

.social-floating {
  position: fixed;
  right: 18px;
  bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 40;
}

.social-floating a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  text-decoration: none;
  color: #0b0d10;
  background: var(--neon-blue);
  box-shadow: 0 0 12px rgba(0, 231, 255, .7);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.social-floating a:hover {
  transform: translateY(-2px) scale(1.03);
  background: var(--neon-pink);
  box-shadow: 0 0 18px rgba(255, 60, 172, .9);
}

@media (max-width:700px) {
  .social-floating {
    right: 10px;
    bottom: 80px;
  }
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.skill-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(0, 0, 0, .2), rgba(255, 255, 255, .02));
  color: var(--text);
  font-size: .85rem;
  letter-spacing: .02em;
}

.timeline {
  position: relative;
  margin-top: 24px;
  padding-left: 24px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--neon-blue), var(--neon-pink));
  opacity: .5;
}

.timeline-item {
  position: relative;
  padding-bottom: 20px;
}

.timeline-dot {
  position: absolute;
  left: -2px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--neon-blue);
  box-shadow: 0 0 10px var(--neon-blue);
}

.timeline-content {
  padding: 6px 10px 0 18px;
}

.timeline-content h3 {
  margin-bottom: 4px;
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--neon-green);
  color: #000;
  font-size: 1.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(57, 255, 20, .7);
  z-index: 50;
}

.scroll-top.show {
  display: flex;
}

/* ================= PINK MULTILINGUAL WELCOME SCREEN ================= */
#welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: radial-gradient(circle at center, #2e081d 0%, #17020e 70%, #0a0106 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#welcome-screen::before {
  content: '';
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 42, 133, 0.45) 0%, rgba(255, 42, 133, 0.2) 35%, rgba(255, 105, 180, 0.08) 60%, transparent 80%);
  animation: pinkGlowPulse 2.5s ease-in-out infinite alternate;
  pointer-events: none;
  transform: translateZ(0);
}

@keyframes pinkGlowPulse {
  0% {
    transform: scale(0.9) translateZ(0);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.2) translateZ(0);
    opacity: 1;
  }
}

body.welcome-active {
  overflow: hidden !important;
}

body.welcome-active .site-header {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.welcome-card {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 45px 50px;
  border-radius: 28px;
  background: rgba(30, 5, 20, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 105, 180, 0.3);
  box-shadow: 0 0 40px rgba(255, 42, 133, 0.4), inset 0 0 25px rgba(255, 105, 180, 0.15);
  max-width: 90%;
  width: 500px;
  transform: translateZ(0);
}

.welcome-badge {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff85c0;
  background: rgba(255, 42, 133, 0.15);
  border: 1px solid rgba(255, 105, 180, 0.35);
  padding: 5px 18px;
  border-radius: 20px;
  margin-bottom: 22px;
  font-weight: 600;
  box-shadow: 0 0 14px rgba(255, 42, 133, 0.25);
}

.welcome-text-container {
  min-height: 125px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.welcome-word {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #ff85c0 50%, #ff2a85 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255, 42, 133, 0.5);
  margin-bottom: 8px;
  line-height: 1.25;
  transition: transform 0.22s ease, opacity 0.22s ease, filter 0.22s ease;
}

.welcome-subtext {
  font-size: 1.45rem;
  font-weight: 600;
  color: #ffa6d5;
  text-shadow: 0 0 14px rgba(255, 105, 180, 0.45);
  line-height: 1.3;
  transition: transform 0.22s ease, opacity 0.22s ease, filter 0.22s ease;
}

.welcome-word.changing,
.welcome-subtext.changing {
  opacity: 0;
  transform: translateY(-8px) scale(0.95);
  filter: blur(5px);
}

.welcome-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 28px;
}

.welcome-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff69b4, #ff2a85, #ff85c0);
  box-shadow: 0 0 14px #ff2a85;
  transition: width 0.35s linear;
}

/* ================= 3D WEBGL & INTERACTIVE STYLING ================= */

/* 3D Background Canvas */
#bg3d {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* 3D Perspective Containers */
main {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero-grid,
.cards,
.music-scroll,
.grid {
  transform-style: preserve-3d;
}

/* 3D Cyber Navigation & Header */
.brand-3d {
  display: inline-block;
  font-weight: 800;
  text-shadow: 0 0 15px rgba(0, 231, 255, 0.6), 0 2px 4px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand:hover .brand-3d {
  transform: translateZ(20px) scale(1.08) rotateX(-5deg);
}

.nav a span {
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease, text-shadow 0.25s ease;
}

.nav a:hover span {
  transform: translateZ(14px) translateY(-2px);
  color: #ff2a85;
  text-shadow: 0 0 12px #ff2a85;
}

.theme-toggle {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-style: preserve-3d;
}

.theme-toggle:hover {
  transform: rotateY(180deg) scale(1.15);
}

/* 3D Cyber Badge & Volumetric 3D Buttons */
.cyber-badge-3d {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #00e7ff;
  background: rgba(0, 231, 255, 0.1);
  border: 1px solid rgba(0, 231, 255, 0.35);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  box-shadow: 0 0 14px rgba(0, 231, 255, 0.3);
  transform: translateZ(30px);
}

.btn-3d {
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease, background 0.2s ease !important;
}

.btn-3d:hover {
  transform: translateZ(25px) translateY(-3px) scale(1.05) !important;
  box-shadow: 0 10px 25px rgba(255, 42, 133, 0.5), 0 0 30px rgba(0, 231, 255, 0.4) !important;
}

.btn-3d:active {
  transform: translateZ(10px) translateY(1px) scale(0.98) !important;
}

/* 3D Tilt Card Base & Specular Glare */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

[data-tilt]::before {
  content: '';
  position: absolute;
  inset: -100%;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(255, 255, 255, 0.18) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

[data-tilt]:hover::before {
  opacity: 1;
}

/* Cyber Panel 3D Framework */
.cyber-panel-3d {
  position: relative;
  background: rgba(15, 20, 35, 0.6) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 42, 133, 0.25) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 42, 133, 0.08) !important;
}

.cyber-panel-3d:hover {
  border-color: rgba(0, 231, 255, 0.6) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 231, 255, 0.3), inset 0 0 25px rgba(0, 231, 255, 0.12) !important;
}

.cyber-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: #00e7ff;
  border-style: solid;
  pointer-events: none;
  z-index: 6;
  opacity: 0.7;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}

.cyber-panel-3d:hover .cyber-corner {
  opacity: 1;
  border-color: #ff2a85;
}

.cyber-corner.tl {
  top: 6px;
  left: 6px;
  border-width: 2px 0 0 2px;
}

.cyber-corner.tr {
  top: 6px;
  right: 6px;
  border-width: 2px 2px 0 0;
}

.cyber-corner.bl {
  bottom: 6px;
  left: 6px;
  border-width: 0 0 2px 2px;
}

.cyber-corner.br {
  bottom: 6px;
  right: 6px;
  border-width: 0 2px 2px 0;
}

/* 3D Audio Visualizer Equalizer Bars */
.visualizer-3d {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  height: 26px;
  margin-top: 14px;
  transform: translateZ(25px);
}

.visualizer-3d span {
  display: block;
  width: 4px;
  height: 20%;
  background: linear-gradient(180deg, #00e7ff, #ff2a85);
  border-radius: 4px;
  box-shadow: 0 0 8px #ff2a85;
  animation: eqBar 1.2s ease-in-out infinite alternate;
}

.visualizer-3d span:nth-child(1) {
  animation-delay: 0.1s;
}

.visualizer-3d span:nth-child(2) {
  animation-delay: 0.3s;
}

.visualizer-3d span:nth-child(3) {
  animation-delay: 0.5s;
}

.visualizer-3d span:nth-child(4) {
  animation-delay: 0.2s;
}

.visualizer-3d span:nth-child(5) {
  animation-delay: 0.6s;
}

.visualizer-3d span:nth-child(6) {
  animation-delay: 0.4s;
}

.visualizer-3d span:nth-child(7) {
  animation-delay: 0.7s;
}

.visualizer-3d span:nth-child(8) {
  animation-delay: 0.25s;
}

@keyframes eqBar {
  0% {
    height: 15%;
    opacity: 0.4;
  }

  100% {
    height: 100%;
    opacity: 1;
    filter: drop-shadow(0 0 6px #00e7ff);
  }
}

/* 3D Holographic Hero Portrait Wrapper */
.hero-3d-wrapper {
  position: relative;
  display: inline-block;
  border-radius: 28px;
  padding: 12px;
  background: rgba(255, 42, 133, 0.05);
  border: 1px solid rgba(255, 42, 133, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 42, 133, 0.25);
  transform-style: preserve-3d;
}

.hero-3d-wrapper img {
  border-radius: 20px;
  transform: translateZ(30px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.holo-ring {
  position: absolute;
  inset: -20px;
  border-radius: 36px;
  border: 2px dashed rgba(255, 42, 133, 0.45);
  pointer-events: none;
  transform-style: preserve-3d;
  animation: holoRotate 14s linear infinite;
}

.holo-ring-2 {
  inset: -35px;
  border: 1px dotted rgba(0, 231, 255, 0.45);
  animation: holoRotateRev 20s linear infinite;
}

.holo-ring-3 {
  inset: -50px;
  border: 1px dashed rgba(57, 255, 20, 0.3);
  animation: holoRotate 26s linear infinite;
}

@keyframes holoRotate {
  0% {
    transform: rotate(0deg) translateZ(10px);
  }

  100% {
    transform: rotate(360deg) translateZ(10px);
  }
}

@keyframes holoRotateRev {
  0% {
    transform: rotate(360deg) translateZ(5px);
  }

  100% {
    transform: rotate(0deg) translateZ(5px);
  }
}

/* 3D Inner Layer Depth Offset */
.hero-left h1 {
  transform: translateZ(35px);
}

.hero-left p.roles {
  transform: translateZ(25px);
}

.hero-left .cta-row {
  transform: translateZ(40px);
}

.card h3,
.music-title,
#about h2 {
  transform: translateZ(30px);
}

.card p,
#about p {
  transform: translateZ(20px);
}

.card .btn {
  transform: translateZ(35px);
}

/* Enhanced 3D Levitating Scroll Top Button */
.scroll-top {
  animation: float3d 3s ease-in-out infinite alternate !important;
  transform-style: preserve-3d;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.8), 0 0 35px rgba(0, 231, 255, 0.5) !important;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.scroll-top:hover {
  transform: scale(1.25) rotate(360deg) translateZ(20px) !important;
}

@keyframes float3d {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  100% {
    transform: translateY(-10px) rotate(5deg);
  }
}

/* Image Icons System */
.tech-img-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 231, 255, 0.4));
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
  vertical-align: middle;
}

.tech-img-icon:hover {
  transform: scale(1.3) translateZ(20px);
  filter: drop-shadow(0 0 16px #00e7ff) drop-shadow(0 0 24px #ff2a85);
}

.social-img-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 8px;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}

/* Enhanced 3D Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(60px) rotateX(15deg) translateZ(-50px) scale(0.94);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.show,
.reveal.active {
  opacity: 1;
  transform: translateY(0) rotateX(0deg) translateZ(0) scale(1);
}