
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  touch-action: manipulation;
  outline: none;
  
}

body {
  font-family: Consolas, "Courier New", monospace;
  transition: background 1.5s ease, color 0.4s ease;
}


:root {
  --text-color:rgba(22, 22, 22, .8);
  --bevel-color: rgba(255, 255, 255, 0.6);
  --c-border: rgba(255, 255, 255, 0.8);
  --c-shadow: rgba(31, 38, 135, 0.37);
  --c-i-shadow: rgba(255, 255, 255, 0.1);
  --g-color: transparent;
  --f-c: rgba(255, 255, 255, 0.3);
  --gl-bg: rgba(255, 255, 255, 0.05);
  --m-c: rgba(255, 255, 255, 0.4);
  --particles-bg: #000000;
  --bg-icon-label: black;
  --bg-primary: #f5f7fa;
  --bg-secondary: #cc0055;
  --bg-tetiarry: #000000;
  --circle-border: #666;
  --panel-glass-light: rgba(255, 255, 255, 0.12);
  --panel-glass-dark: rgba(48, 48, 107, 0.15);
  --shadow-color: rgba(0, 0, 0, 0.25);
  --neon: #00ff88;
  --scanline: rgba(0, 0, 0, 0.03);
  --grid-size: 50px;
  --first: 0%;
  --second: 100%;
}
html[data-theme='light'] {
  --footer-text-light: rgba(0, 0, 0, 0.8);
  --footer-text-bold: black;
  --footer-bg: rgba(204, 0, 85, .5);
  --text-secondary: #e0e7ff;
  --text-muted: rgba(0, 0, 0, 0.7);
  --border-color: rgba(255, 255, 255, 0.2);
  --glow: rgba(255, 255, 255, 0.5);
  --text-color:rgba(22, 22, 22, .8);
  --grid-bg: rgba(255, 255, 255, 0.8);
  --scanline-color: currentColor;
  --holo-color: rgba(0, 0, 0, 0.1);
  --bevel-color: rgba(0, 0, 0, 0.6);
  --progress-bg: rgba(0, 0, 0, 0.6);
  --progress-fill: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.8));
  --progress-shadow: none;
  --c-border: rgba(0, 0, 0, 0.2);
  --c-shadow: rgba(31, 38, 135, 0.1);
  --c-i-shadow: rgb(204, 0, 85, 0.3);
  --g-color: transparent;
  --f-c: rgba(255, 255, 255, 0.3);
  --gl-bg: rgba(255, 255, 255, 0.05);
  --m-c: rgba(255, 255, 255, 0.4);
  --particles-bg: #000000;
  --bg-primary: #f5f7fa;
  --bg-secondary: #cc0055;
  --bg-tettiary: #000000;
  --circle-border: #666;
  --panel-glass-light: rgba(255, 255, 255, 0.001);
  --panel-glass-dark: rgba(65, 65, 66, 0.001);
  --shadow-color: rgba(0, 0, 0, 0.25);
  --f: black;
}


html[data-theme='dark'] {
  --footer-text-bold: white;
  --footer-text-light: rgba(255, 255, 255, 0.8);
  --footer-bg: rgba(0, 255, 136,.5);
  --text-secondary: #64ffda;
  --text-muted: rgba(255, 255, 255, 0.7);
  --border-color: rgba(0, 255, 136, 0.2);
  --glow: rgba(0, 255, 136, 0.5);
  --text-color: #00ff88;
  --grid-bg: rgba(0, 0, 0, 0.8);
  --scanline-color: var(--text-color);
  --holo-color: rgba(0, 255, 136, 0.1);
  --bevel-shadow: rgba(0, 255, 136, 0.3);
  --progress-bg: rgba(0, 255, 136, 0.1);
  --progress-fill: linear-gradient(90deg, rgba(0, 255, 136, 0.5), rgba(0, 255, 136, 1));
  --progress-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  --c-border: rgba(0, 255, 136, 0.2);
  --c-shadow: rgba(255, 255, 255, 0.1);
  --c-i-shadow: rgba(0, 255, 136, 0.3);
  --g-color: rgba(0, 255, 136, 0.1);
  --f-c: rgba(0, 255, 136, 0.3);
  --gl-bg: rgba(0, 0, 0, 0.1);
  --m-c: rgba(255, 255, 255, 0.4);
  --particles-bg: #ffffff;
  --bg-primary: #0d0d0d;
  --bg-secondary: #00ff88; 
  --circle-border: #00ff88;
  --bg-tettiary: #ffd700;
  --panel-glass-light: rgba(0, 255, 120, 0.05);
  --panel-glass-dark: rgba(0, 255, 120, 0.15);

  --shadow-color: rgba(0, 255, 120, 0.3);
  --f:none;
}


@property --first {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}
@property --second {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 100%;
}


body {
  background: var(--bg-primary);
  background-image: 
    linear-gradient(var(--scanline) 1px, transparent 1px),
    radial-gradient(circle at center,
      transparent 50%,
      var(--bg-secondary) 51%,
      transparent 52%);
  background-size:
    100% 2px,
    var(--grid-size) var(--grid-size);
  background-repeat: repeat;
}

.headerNavBar {
  position: relative;
  margin: 25px auto;
  width: 350px;
  height: 100px;
}


.headerNavBar .biggest {
  width: 350px;
  height: 80px;
  position: absolute;
  background-image: radial-gradient(
    circle at center,
    var(--panel-glass-light) var(--first),
    var(--panel-glass-dark) var(--second)
  );

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  box-shadow: 0 8px 20px var(--shadow-color);
  clip-path: url(#Mother-clip-box);
  z-index: 1;
  animation: cyberBars 14s infinite alternate ease-in-out;
}

.headerNavBar .switchCircle {
  position: absolute;
  width: 35px;
  height: 35px;
  border-radius: 50%;

  background-image: linear-gradient(
    to right,
    var(--panel-glass-light),
    var(--panel-glass-dark)
  );

  right: 2.2px;
  top: 22.5px;

  cursor: pointer;

  border: 1px solid var(--circle-border);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 8px var(--shadow-color);
}

.headerNavBar .centerContext{
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

.headerNavBar .centerContext:focus{
  outline: none !important;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

.headerNavBar .centerContext {
  position: relative;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  background-image: linear-gradient(
    to right,
    var(--panel-glass-light),
    var(--panel-glass-dark)
  );

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  left: calc(50% - 27.5px);
  top: 53px;
  border: 1px solid var(--circle-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--shadow-color);
  z-index: 3;
  cursor: pointer;
}
.headerNavBar .centerContext .context-grid {
  width: 100vw;
  height: 100vh;
  border-radius: 0%;
  top: -80px;
  position: absolute;
  padding: 40px;
  /*background-image: linear-gradient(
    to right,
    var(--panel-glass-light),
    var(--panel-glass-dark)

  );*/
  background: var(--grid-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  
}

.row{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}
.row:nth-child(1){
  background-color: none;
}

.row:nth-child(2){
  background-color: none;
}

.row:nth-child(3){
  background-color: none;
}

.headerNavBar .centerContext .context-grid .icon-wrapper{
position: relative;
display: flex;
flex-direction: column;
align-items: center;
cursor: pointer;
}

.headerNavBar .centerContext .context-grid .icon-wrapper .icon-frame{
position: relative;
width: 100px;
height: 100px;
display: flex;
align-items: center;
border-radius: 50%;
justify-content: center;
background: transparent;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275)
}

.headerNavBar .centerContext .context-grid .icon-wrapper .icon-frame::before{
  content: '';
  position: absolute;
  border-radius: 50%;
  inset: 0;
  border: 2px solid var(--bg-tettiary);
  transition: all 0.4s ease;
}

.headerNavBar .centerContext .context-grid .icon-wrapper .icon-frame::after{
  content: '';
  position: absolute;
  border-radius: 50%;
  inset: 8px;
  border: 1px solid var(--bg-tettiary);
  transition: all 0.4s ease;
}

.headerNavBar .centerContext .context-grid .icon-wrapper .icon-frame .rotating-ring{
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed var(--bg-tettiary);
  opacity: 0.8;
  transition: all 0.4s ease;
  animation: ring-rotate 20s linear infinite

}

.headerNavBar .centerContext .context-grid .icon-wrapper:hover .icon-frame{
  transform: scale(1.1);
}
.headerNavBar .centerContext .context-grid .icon-wrapper:hover .icon-frame::before{
  border-color: var(--bg-secondary);
  border-width: 3px;
  box-shadow: 0 0 20px var(--bg-secondary), 0 0 40px var(--bg-secondary) 60, inset 0 0 10px var(--bg-secondary)20;
}

.headerNavBar .centerContext .context-grid .icon-wrapper:hover .icon-frame::after{
  border-color: var(--bg-secondary);
  opacity: 0.8;
  box-shadow: 0 0 10px var(--bg-secondary), 0 0 20px var(--bg-secondary);
  inset: 12px;
}

.headerNavBar .centerContext .context-grid .icon-wrapper:hover .icon-frame .rotating-ring{
  border-color: var(--bg-secondary);
  box-shadow: 0 0 15px var(--bg-secondary), 0 0 30px var(--bg-secondary);
  opacity: 1;
  animation-duration: 10s;
  filter: drop-shadow(0 0 6px var(--bg-secondary));
}
.headerNavBar .centerContext .context-grid .icon-wrapper .icon-frame .orbital-dot{
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bg-secondary);
  box-shadow: 0 0 8px var(--bg-secondary), 0 0 16px var(--bg-secondary);
}
.headerNavBar .centerContext .context-grid .icon-wrapper .icon-frame .orbital-dot:nth-child(1){
  top: -2.5px;
  left: 50%;
  transform: translateX(-50%);
}
.headerNavBar .centerContext .context-grid .icon-wrapper .icon-frame .orbital-dot:nth-child(2){
  bottom: -2.5px;
  left: 50%;
  transform: translateX(-50%);
}
.headerNavBar .centerContext .context-grid .icon-wrapper .icon-frame .orbital-dot:nth-child(3){
  left: -2.5px;
  top: 50%;
  transform: translateY(-50%);
}
.headerNavBar .centerContext .context-grid .icon-wrapper .icon-frame .orbital-dot:nth-child(4){
  right: -2.5px;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes ring-rotate {
  from{
    transform: rotate(0deg);
  }
  to{
    transform: rotate(360deg);
  }
}

.svg-icon{
  width: 50px;
  height: 50px;
  transition: fill 0.4s ease;
}
.svg-icon path,
.svg-icon circle,
.svg-icon rect,
.svg-icon line,
.svg-icon polyline{
  stroke: var(--bg-tettiary);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 3s ease;
}

.icon-wrapper:hover .svg-icon path,
.icon-wrapper:hover .svg-icon circle,
.icon-wrapper:hover .svg-icon rect,
.icon-wrapper:hover .svg-icon line,
.icon-wrapper:hover .svg-icon polyline{
  stroke: var(--bg-secondary);
  
}

.headerNavBar .centerContext .context-grid .icon-wrapper .Icon-label{
  margin-top: 18px;
  color: var(--bg-tettiary);
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-shadow: 0 0 10 var(--bg-secondary);
}


/* contact */

.headerNavBar .centerContext .context-grid .icon-wrapper .contact-icon .rect {
  stroke-linejoin: round;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: envelopeDraw 10s linear infinite ;
  

}
.headerNavBar .centerContext .context-grid .icon-wrapper .contact-icon .poly {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  stroke-linejoin: round;
  animation: envelopeDraw 10s linear infinite;
}
@keyframes envelopeDraw {
 to { stroke-dashoffset: 0; }
}

/* about */

.headerNavBar .centerContext .context-grid .icon-wrapper .about-icon .outer-ring {
  transform-origin: center;
  animation: rotateRing 15s linear infinite;
}

.about-icon .inner-ring {
  transform-origin: center;
  animation: rotateRing 10s linear infinite reverse;
}

.about-icon .data-node {
  animation: pulseNode 2s ease-in-out infinite;
}

.about-icon .data-node:nth-child(n+6) { animation-delay: 0.5s; }

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

.icon-wrapper:hover .about-icon .outer-ring,
.icon-wrapper:hover .about-icon .inner-ring {
  animation-duration: 2s;
}

/* cancel */

.cancel-icon .x-line {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: slashDraw 0.8s ease forwards;
}

.cancel-icon .x-line:nth-child(2) {
  animation-delay: 0.4s;
}

.cancel-icon .warning-ring {
  animation: warnPulse 3s ease-in-out infinite;
}

@keyframes slashDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes warnPulse {
  0%, 90%, 100% { opacity: 0.3; }
  95% { opacity: 1; }
}

.icon-wrapper:hover .cancel-icon .warning-ring {
  animation: warnFast 0.3s ease-in-out infinite;
  stroke: #ff3366;
}

@keyframes warnFast {
  0%, 100% { opacity: 0.5; stroke-width: 2; }
  50% { opacity: 1; stroke-width: 3; }
}


/* Projects - Build */
.projects-icon .grid-box {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: buildBox 0.6s ease forwards;
}

.projects-icon .grid-box:nth-child(1) { animation-delay: 0s; }
.projects-icon .grid-box:nth-child(2) { animation-delay: 0.15s; }
.projects-icon .grid-box:nth-child(3) { animation-delay: 0.3s; }
.projects-icon .grid-box:nth-child(4) { animation-delay: 0.45s; }

.projects-icon .cursor {
  animation: cursorBlink 1s step-end infinite;
}

@keyframes buildBox {
  to { stroke-dashoffset: 0; }
}

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

/* open source */

.opensource-icon .branch {
  stroke-dasharray: 6 4;
  animation: dataFlow 1.5s linear infinite;
}

.opensource-icon .node-pulse {
  animation: nodePulse 2s ease-in-out infinite;
}

.opensource-icon .node-pulse:nth-child(2) { animation-delay: 0.4s; }
.opensource-icon .node-pulse:nth-child(3) { animation-delay: 0.8s; }

@keyframes dataFlow {
  from { stroke-dashoffset: 200; }
  to { stroke-dashoffset: 0; }
}

@keyframes nodePulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}

.icon-wrapper:hover .opensource-icon .branch {
  animation-duration: 0.4s;
}

.icon-wrapper:hover .opensource-icon .merge-glow {
  animation: mergeGlow 0.4s ease infinite alternate;
}

.img-name{
  width: 100%;
  height: 350px;
  background: transparent;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-shrink: none;
  position: relative;
  z-index: 1;
}


.svg-image-holder{
  width: 230px;
  height: 300px;

} 

#svg2{
  width: 230px;
  height: 300px;
  display: block;
  background:transparent;
}

.threeD-name-holder{
width: calc(100% - 230px);
max-width: 250px;
height: 300px;
background:transparent;

}



@keyframes mergeGlow {
  from { opacity: 0.5; }
  to { opacity: 1; filter: drop-shadow(0 0 8px var(--accent)); }
}

@keyframes cyberBars {
  0% {
    --first: 0%;
    --second: 100%;
  }
 
  100% {
    --first: 100%;
    --second: 0%;
  }
}

.floating-icons{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:transparent;
  z-index: 0;
  overflow: hidden;
}
.f-icon{
  position: absolute;
  font-size: 24px;
  animation: floatI linear infinite;
  color: var(--f-c);
  opacity: 0.15;
  text-shadow: 0 0 8px var(--f-icon-shadow);
}

@keyframes floatI {
  0% {
    transform: translateY(100vh) rotate(0deg) translateX(0);
    
  }
  100% {
    transform: translateY(-100vh) rotate(360deg) translateX(var(--drift));
  }
}

.matrix-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.08;
}
.matrix-column {
  position: absolute;
  top: 0;
  font-size: 14px;
  color: var(--m-c);
  font-weight: bold;
  animation: matrixFall linear infinite;
}

@keyframes matrixFall {
  0%{top: -100%;}
  100%{top: 100%;}
}

.typewriter-container{
  margin: 50px  auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
  position: relative;
  z-index: 1;
}

.typewriter-container:hover{
  transform: scale(1.01);
  box-shadow: 0 12px 40px 0 var(--c-shadow), inset 0 0 30px var(--c-i-shadow), 0 0 60px var(--g-shadow);
}

.glass-card{
  background: var(--gl-bg);
  border: 1px solid var(--c-border);
  box-shadow: 0 8px 30px 0 var(--c-shadow), inset 0 0 10px var(--c-i-shadow), 0 0 40px var(--g-color);
  -webkit-backdrop-filter: blur(1px);
  color: var(--text-color);
  backdrop-filter: blur(3px);
  overflow: hidden;
  position: relative;
  /* border-radius: 20px; */
  padding: 40px 20px;
  transition: all 0.4s ease;
}

.glass-card:hover{
  transform: scale(1.01);
  box-shadow: 0 12px 40px 0 var(--c-shadow), inset 0 0 30px var(--c-i-shadow), 0 0 60px var(--g-shadow);
}

.stick {
  margin: auto;
  position: absolute;
  left: calc(20% - 6px);
  top: 0;
  width: 6px;
  height: 450px;
  background: blue;
  border-radius: 0 0 0px 0;
  /*box-shadow: 0 0 20px var(--bevel-shadow); */
}
.typewriter-section {
  position: relative;
  left: 20%;
  width: 70%;
  height: 350px;
  max-width: 800px;
  min-height: 350px;
  border-bottom-right-radius: 20px;
  border-top-right-radius: 20px;
}
@media only screen and (max-width: 380px) {
  .typewriter-section {
    /* width: 80%; */
  }
  
}
.typewriter-text {
  font-size: 1.1rem;
  line-height: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  min-height: 150px;
  text-shadow: 0 0 10px var(--text-shadow);
}

.typewriter-text::after {
  content: '▊';
  animation: blink 0.8s infinite;
  margin-left: 2px;
}

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

.quote-number {
  display: none;
  font-size: 1rem;
  opacity: 0.6;
  margin-bottom: 25px;
  font-weight: bold;
  letter-spacing: 2px;
}


.progress-container {
  width: 100%;
  height: 4px;
  background: var(--progress-bg);
  border-radius: 2px;
  margin-top: 30px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--progress-fill);
  box-shadow: var(--progress-shadow);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.description-section {
  margin: auto;
  position: relative;
  width: 90%;
  max-width: 800px;
  padding: 20px;
}

.description-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  border-top: 3px solid var(--bevel-color);
  border-left: 3px solid var(--bevel-color);
  border-radius: 20px 0 0 0;
  /* box-shadow: 0 0 20px var(--bevel-shadow); */
  transition: all 0.5s ease;
  animation: pulse 3s ease-in-out infinite;
}

.description-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 120px;
  border-bottom: 3px solid var(--bevel-color);
  border-right: 3px solid var(--bevel-color);
  border-radius: 0 0 20px 0;
  /* box-shadow: 0 0 20px var(--bevel-shadow); */
  transition: all 0.5s ease;
  animation: pulse 3s ease-in-out infinite 1.5s;
}

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

.description-title {
  font-size: 0.9rem;
  margin-bottom: 25px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  animation: glitchText 5s infinite;
}
@media only screen and (min-width: 400px) {
  .description-title {
    font-size: 1.2rem;
  }
  
}
@keyframes glitchText {
  0%, 90%, 100% { transform: translate(0); }
  91% { transform: translate(-2px, 2px); }
  92% { transform: translate(2px, -2px); }
  93% { transform: translate(-2px, -2px); }
  94% { transform: translate(2px, 2px); }
}

.description-text {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  color: var(--text-color);
  text-shadow: 0 0 5px var(--text-shadow);
}


.corner-decor {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid var(--bevel-color);
  opacity: 0.3;
}

.corner-tl {
  top: 10px;
  left: 10px;
  /* border-top-left-radius: 20px; */
  border-right: none;
  border-bottom: none;
}

.corner-tr {
  top: 10px;
  right: 10px;
  border-top-right-radius: 20px;
  border-left: none;
  border-bottom: none;
}

.corner-bl {
  bottom: 10px;
  left: 10px;
  /* border-bottom-left-radius: 20px; */
  border-right: none;
  border-top: none;
}

.corner-br {
  bottom: 10px;
  right: 10px;
  border-bottom-right-radius: 20px;
  border-left: none;
  border-top: none;
}

.status-bar {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  font-size: 0.85rem;
  opacity: 0.5;
  font-weight: bold;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-color);
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.holo-overlay {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--holo-color), transparent);
  animation: slide 3s infinite;
  pointer-events: none;
}

@keyframes slide {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* .scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--scanline-color), transparent);
  opacity: 0.3;
  animation: scan 4s infinite;
} */

@keyframes scan {
  0% { top: 0; opacity: 0; }
  50% { opacity: 0.5; }
  100% { top: 100%; opacity: 0; }
}

.tree-container { 
  position: relative;
  width: 100%;
  margin: auto;
  padding: 40px 0;
}

.v{
  position: absolute;
  top: 0;
  left: calc(20% - 6px);
  width: calc(30% + 6px);
  height: 6px;
  background: linear-gradient(to bottom, #0000ff, #6c6cfd);
  /* transform: translateX(-50%); */
}

.tree-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, #0000ff, #6c6cfd);
  transform: translateX(-50%);
  border-radius: 2px;
}

.node {
  position: relative;
  width: 50%;
  padding: 20px 0; 
}

.node:not(:first-child) {
  margin-top: 10px;
}

.node.left {
  right: 0%;
  text-align: right;
  padding-right: 40px; 
}

.node.right {
  left: 50%;
  text-align: left;
  padding-left: 40px; 
}

.content {
  display: inline-block;
  color: white;
  background: #020617;
  padding: 15px 10px;
  border-radius: 10px;
  border: 1px solid blue;
  position: relative;
  width: 90%;
  max-width: 200px;
  text-align: center;
}

.node.left .content::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -40px;
  width: 40px;
  height: 2px;
  background: blue;
}
.node.right .content::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -40px;
  width: 40px;
  height: 2px;
  background: blue;
}

.footer-parent{
  /* margin-top: 50px; */
  width: 100%;
}
.wave-container{
  width: 100%;
  height: 150px;
  overflow: hidden;
  position: relative;
  bottom: 0px;
}
.wave-section{
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--footer-bg);
  backdrop-filter: blur(1px);
  clip-path: url('#waveClip');
  -webkit-clip-path: url('#waveClip');
}
.footer-container{
  width: 100%;
  background: var(--footer-bg);
}

.footer-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr;
            gap: 3rem;
            margin-bottom: 2rem;
        }

        /* Brand Section */
        .brand {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .logo {
            font-size: 2rem;
            font-weight: bold;
            color: blue;
            text-shadow: 0 0 20px var(--glow);
            letter-spacing: 2px;
            animation: glitchText 5s infinite;
        }

        @keyframes glitchText {
            0%, 90%, 100% { transform: translate(0); }
            91% { transform: translate(-2px, 2px); }
            92% { transform: translate(2px, -2px); }
            93% { transform: translate(-2px, -2px); }
            94% { transform: translate(2px, 2px); }
        }


        /* Links Section */
        .links {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .links b {
            color: var(--footer-text-bold);
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 0.5rem;
            display: block;
        }

        .links a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            display: inline-block;
            position: relative;
            padding: 0.25rem 0;
        }

        .links a::before {
            content: '>';
            position: absolute;
            left: -15px;
            opacity: 0;
            transition: all 0.3s ease;
            color: var(--footer-text-light);
        }

        .links a:hover {
            color: var(--footer-text-light);
            transform: translateX(10px);
            text-shadow: 0 0 10px var(--glow);
        }

        .links a:hover::before {
            opacity: 1;
            left: -12px;
        }

        
        .footer-bottom {
            max-width: 1200px;
            margin: 0 auto;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border-color);
            text-align: center;
            color: var(--text-muted);
            font-size: 1rem;
            font-weight: bold;
            letter-spacing: 0.5px;
        }


        
        @media (max-width: 1024px) {
            .footer-grid {
                grid-template-columns: 1.5fr 1fr 1fr;
                gap: 2rem;
            }
            
            .links:last-child {
                grid-column: span 3;
            }
        }

        @media (max-width: 768px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 2rem;
            }
            
            .brand {
                grid-column: span 2;
            }

            .footer-content {
                padding: 2.5rem 1.5rem 1rem;
            }
        }

        @media (max-width: 480px) {
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .brand,
            .links:last-child {
                grid-column: span 1;
            }

            .footer-content {
                padding: 2rem 1rem 1rem;
            }

            .logo {
                font-size: 1.5rem;
            }
        }
