:root {
  --card-bg: #1f1f1f;
  --overlay-bg: rgb(55, 8, 112);
  --text-light: #f0f0f0;
  --text-muted: #aaa;
}

* {
  box-sizing: border-box;
}


#squad {
    background: #d8d8d8;
}

.player-grid-squad {
  display: grid;
  grid-template-columns: repeat(auto-fit, 240px);
  gap: 70px;
  max-width: 1300px;
  width: 100%;
  justify-content: center;
}

.player-grid-squad:empty {
  display: none;
}


.pgs1-head {
  justify-content: left;
  padding-left: 100px;
}
.player-card-squad {
  position: relative;
  background: var(--card-bg);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(21, 0, 18, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, box-shadow, opacity;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-transform: translateZ(0);
}

.player-card-squad:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}


.image-wrapper-squad {
  position: relative;
  width: 100%;
  padding-bottom: 150%;
  overflow: hidden;
}

.image-wrapper-squad::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 10%, rgba(0,0,0,.6) 100%);
  mix-blend-mode: multiply; /* Optional: makes vignette blend naturally */
  z-index: 1;
  pointer-events: none;
}

.image-wrapper-squad img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s, filter 0.35s;
}

.player-card-squad:hover .image-wrapper-squad img {
  transform: scale(1.07) rotate(2deg);
  filter: brightness(0.85) contrast(1.2);
}

.overlay-squad {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 40%;
  width: 100%;
  background: var(--overlay-bg);
  padding: 10px 5px 5px 5px;
  /* ⬅️ increased top padding only */
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  clip-path: polygon(0 0, 100% 20%, 100% 100%, 0% 100.5%);


}

.player-card-squad:hover .overlay-squad {
  transform: translateY(0);
}

.overlay-squad .info-squad {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.overlay-squad h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #ffaa00;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  font-family: 'Rajdhani', sans-serif;
}

.overlay-squad .role {
  font-size: 0.86rem;
  margin: 2px 0;
  color: #e0e0e0;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-style: italic;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
  font-family: 'Rajdhani', sans-serif;
}

.overlay-squad .meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  margin-top: 4px;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  font-family: 'Rajdhani', sans-serif;
}


.overlay-squad .socials {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 6px;
  align-items: flex-end;
  gap: 8px;
}

.overlay-squad .socials a img {
  width: 22px;
  transition: transform 0.35s;
}

.overlay-squad .socials a:hover img {
  transform: scale(1.6) rotate(80deg);
}


.image-wrapper-squad .pre-info-squad {
  position: absolute;
  top: 76%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  padding: 5px 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.68) 20%,
      rgba(0, 0, 0, 0.80) 40%,
      rgba(0, 0, 0, 0.80) 60%,
      rgba(0, 0, 0, 0.68) 85%,
      rgba(0, 0, 0, 0) 100%);
  text-align: center;
  z-index: 2;
  backdrop-filter: blur(3px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    filter 0.4s ease;
  pointer-events: none;
  user-select: none;
}

.player-card-squad:hover .pre-info-squad {
  opacity: 0;
  transform: translateY(-60%) scale(0.96);
  filter: blur(2px);
}


.pre-info-squad h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgb(194, 183, 183);
  margin: 0;
  line-height: 1.2;
}

.pre-info-squad p {
  font-size: 0.95rem;
  color: rgb(142, 141, 141);
  margin: 1px 0 0;
}



.image-wrapper-squad .pre-socials {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
  filter: brightness(50%);
  backdrop-filter: blur(8px);
  box-shadow:
    0 0 4px rgba(0, 0, 0, 0.4),
    0 8px 14px rgba(0, 0, 0, 0.6),
    0 0 0 3px rgba(0, 0, 0, 0.2) inset;
  z-index: 2;

  /* Smooth fade-out transition */
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  opacity: 1;
  pointer-events: auto;
}

.image-wrapper-squad .pre-socials a:hover img {
  transform: scale(1.3) rotate(12deg);
  filter: brightness(1.6);
}

.player-card-squad:hover .pre-socials {
  opacity: 0;
  transform: scale(0.85) translateY(6px);
  pointer-events: none;
}




.player-loader {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
}

.player-loader {
  position: absolute;
  z-index: 99;
}

.animated-card {
  opacity: 0;
  transform: translateY(40px) scale(0.95) rotateX(8deg);
  transition: 
    opacity 0.5s ease,
    transform 0.7s ease,
    filter 0.6s ease;
  filter: blur(6px) brightness(0.7);
  will-change: transform, opacity;
}

.reveal-card {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0);
  filter: blur(0) brightness(1);
}




















/* LOADER */
.loader-wrapper {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;

  background-color: rgba(10, 10, 20, 0.4);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1);
  /* keep transform for GPU acceleration */

  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
  will-change: opacity, visibility;
}

.loader-wrapper.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.loader-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  backdrop-filter: blur(2px);

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  font-family: "Inter", sans-serif;
  font-size: 1.2em;
  font-weight: 300;

  will-change: transform, opacity;
  transition: transform 0.3s ease-out;
}


.loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: transparent;
  animation: loader-rotate 2s linear infinite;
  z-index: 0;
}

.loader-wrapper::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35);
  /* adjustable black shadow layer */
  z-index: -1;
  /* behind the loader */
}

@keyframes loader-rotate {
  0% {
    transform: rotate(90deg);
    box-shadow:
      0 10px 20px 0 #fff inset,
      0 20px 30px 0 #ad5fff inset,
      0 60px 60px 0 #471eec inset;
  }

  50% {
    transform: rotate(270deg);
    box-shadow:
      0 10px 20px 0 #fff inset,
      0 20px 10px 0 #d60a47 inset,
      0 40px 60px 0 #311e80 inset;
  }

  100% {
    transform: rotate(450deg);
    box-shadow:
      0 10px 20px 0 #fff inset,
      0 20px 30px 0 #ad5fff inset,
      0 60px 60px 0 #471eec inset;
  }
}

.loader-letter {
  display: inline-block;
  opacity: 0.4;
  transform: translateY(0);
  animation: loader-letter-anim 2s infinite;
  z-index: 1;
  border-radius: 50ch;
  border: none;
}

.loader-letter:nth-child(1) {
  animation-delay: 0s;
}

.loader-letter:nth-child(2) {
  animation-delay: 0.1s;
}

.loader-letter:nth-child(3) {
  animation-delay: 0.2s;
}

.loader-letter:nth-child(4) {
  animation-delay: 0.3s;
}

.loader-letter:nth-child(5) {
  animation-delay: 0.4s;
}

.loader-letter:nth-child(6) {
  animation-delay: 0.5s;
}

.loader-letter:nth-child(7) {
  animation-delay: 0.6s;
}

.loader-letter:nth-child(8) {
  animation-delay: 0.7s;
}

.loader-letter:nth-child(9) {
  animation-delay: 0.8s;
}

.loader-letter:nth-child(10) {
  animation-delay: 0.9s;
}

@keyframes loader-letter-anim {

  0%,
  100% {
    opacity: 0.4;
    transform: translateY(0);
  }

  20% {
    opacity: 1;
    transform: scale(1.15);
  }

  40% {
    opacity: 0.7;
    transform: translateY(0);
  }
}

/* LOADER ENDS */


















.title-section {
  margin-top: 7%;
  margin-bottom: 4%;
  padding-left: 10%;
  padding-right: 7rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  position: relative;
  border-radius: 12px;
  z-index: 1;
  overflow: hidden;
}

.title-bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.85) 100%),
    url('../images-new/bg/5.jpg') center/cover no-repeat;
  background-blend-mode: darken;
  filter: brightness(70%);
  z-index: 0;
  border-radius: 12px;

  transform: translateX(-80px);
  opacity: 0;
}

.title-section > *:not(.title-bg) {
  position: relative;
  z-index: 2;
}



.squad-role {
  font-family: 'cyberway', sans-serif;
  font-size: 2.5rem;
  perspective: 800px;
  letter-spacing: 0.41rem;
  display: inline-block;
  position: relative;
  line-height: 1;
  white-space: nowrap;
}

.title-icon {
  width: 40px;
  height: 40px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.5s ease-out;
  filter:
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
}


.squad-role span {
  opacity: 0;
  display: inline-block;
  border: 10px;
  border-color: #000;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(90deg, #4d4c4c, #ffffff);
  -webkit-text-fill-color: transparent;
}










/* TO USE IMAGE in SQUAD SECTION OF CARDS*/
/* 
.duff-bg-section {
  position: relative;
  background: none;
  z-index: 1;
  overflow: hidden;
}

.duff-bg-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images-new/bg/2-clipped.jpg');
  background-repeat: repeat-y;
  background-size: contain;
  background-position: center center;
  z-index: 0;
  border-radius: 4%;
  pointer-events: none;

  filter: grayscale(100%) brightness(55%) contrast(120%);
  transition: filter 1.2s ease-in-out;
}

.duff-bg-section.scrolling::before {
  filter: grayscale(0%) brightness(10%) contrast(100%);
}
 */
/* TO USE IMAGE, USE THE ABOVE*/



.duff-bg-section {
  position: relative;
  background-color: #090014; /* from esports-18 */
  z-index: 1;
  overflow: hidden;
}

.duff-bg-section::before,
.duff-bg-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: grayscale(0%) brightness(70%) contrast(120%) blur(120px);
  pointer-events: none;
  z-index: 0;
}

.duff-bg-section::before {
  width: 350px;
  height: 350px;
  background: rgba(255, 0, 150, 0.15);
  top: 10%;
  right: 10%;
}

.duff-bg-section::after {
  width: 300px;
  height: 300px;
  background: rgba(0, 200, 255, 0.12);
  bottom: 5%;
  left: 10%;
}

.duff-bg-section.scrolling::before,
.duff-bg-section.scrolling::after {
  filter: blur(120px) grayscale(0%) brightness(10%) contrast(100%);
}























.section-divider {
  width: 80%;
  max-width: 900px;
  margin: 70px auto;
  height: 2px;
  border-radius: 2px;
}
.divider-10 {
  background: linear-gradient(
    90deg,
    transparent 0%,
    #00faff 50%,
    transparent 100%
  );
  opacity: 0.5;
}


/* BuTTON BACK to TOP */
.button-backToTop {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(20, 20, 20);
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 0px 4px rgba(180, 160, 255, 0.253);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.svgIcon-backToTop {
  width: 12px;
  transition-duration: 0.3s;
}

.svgIcon-backToTop path {
  fill: white;
}

.button-backToTop:hover {
  width: 140px;
  border-radius: 50px;
  background-color: rgb(224, 153, 0);
}

.button-backToTop:hover .svgIcon-backToTop {
  transform: translateY(-200%);
}

.button-backToTop::before {
  position: absolute;
  bottom: -20px;
  content: "Back  to  Top";
  color: rgb(255, 255, 255);
  font-size: 0px;
  letter-spacing: 4px;
}

.button-backToTop:hover::before {
  font-size: 15px;
  opacity: 1;
  font-family: 'Cyberway';
  bottom: unset;
  transition-duration: 0.3s;
}

.button-backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}





























.cardSession-data-show {
  padding: 0.4rem;
  overflow-x: auto; /* changed from hidden */
  border: 1px solid #c5c5c5;
  border-radius: 2px;
  background-color: #d9d9d92f;
  backdrop-filter: blur(8px);
  width: 25%; /* or remove width altogether */
  max-width: 100%;
}
.wrapSession-data-show {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 10;
  border: 0.5px solid #525252;
  border-radius: 2px;
  overflow: visible;
}
.terminalSession-data-show {
  display: flex;
  flex-direction: column;

  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}
.headSession-data-show {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  min-height: 10px;
  padding-inline: 10px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  background-color: #202425;
}
.titleSession-data-show {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 1.5rem;
  user-select: none;
  font-size: 1rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #8e8e8e;
}
.titleSession-data-show > svg {
  height: 18px;
  width: 18px;
  margin-top: 2px;
  color: #006adc;
}
.copy_toggleSession-data-show {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .25rem;
  border: 0.65px solid #c1c2c5;
  margin-left: auto;
  border-radius: 4px;
  background-color: #202425;
  color: #8e8e8e;
  cursor: pointer;
}
.copy_toggleSession-data-show > svg {
  width: 14px;
  height: 14px;
}
.copy_toggleSession-data-show:active > svg > path,
.copy_toggleSession-data-show:focus-within > svg > path {
  animation: clipboard-check 500ms linear forwards;
}
.bodySession-data-show {
  display: flex;
  flex-direction: column;
  position: relative;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  overflow-x: auto;
  padding-top: 0.7rem;
  padding-left: 0.7rem;
  padding-right: 0.7rem;
  line-height: 17px;
  color: rgb(0, 145, 2);
  background-color: black;
  white-space: nowrap;
}
.preSession-data-show {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-wrap: nowrap;
  white-space: pre;
  background-color: transparent;
  overflow: hidden;
  box-sizing: border-box;
  font-size: 16px;
}
.preSession-data-show code:nth-child(1) {
  color: #575757;
}
.preSession-data-show code:nth-child(2) {
  color: #e34ba9;
}
.cmdSession-data-show {
  height: 19px;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: row;
}
.cmdSession-data-show::before {
  content: attr(data-cmd);
  position: relative;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  background-color: transparent;
  animation: inputs 8s steps(50) infinite;
}
.cmdSession-data-show::after {
  content: "";
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  background-color: transparent;
  border-right: 0.15em solid #e34ba9;
  animation: cursor 0.5s step-end infinite alternate, blinking 0.5s infinite;
}

@keyframes blinking {
  20%,
  80% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0);
  }
}
@keyframes cursor {
  50% {
    border-right-color: transparent;
  }
}
@keyframes inputs {
  0%,
  100% {
    width: 0;
  }
  10%,
  90% {
    width: 58px;
  }
  30%,
  70% {
    width: 215px;
    max-width: max-content;
  }
}
@keyframes clipboard-check {
  100% {
    color: #fff;
    d: path(
      "M 9 5 H 7 a 2 2 0 0 0 -2 2 v 12 a 2 2 0 0 0 2 2 h 10 a 2 2 0 0 0 2 -2 V 7 a 2 2 0 0 0 -2 -2 h -2 M 9 5 a 2 2 0 0 0 2 2 h 2 a 2 2 0 0 0 2 -2 M 9 5 a 2 2 0 0 1 2 -2 h 2 a 2 2 0 0 1 2 2 m -6 9 l 2 2 l 4 -4"
    );
  }
}





.org-head-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-right: 5%;
  box-sizing: border-box;
}

.cardSession-data-show {
  flex-shrink: 0;
  margin-left: auto;
}

































/* DEVELOPER PROFILE CARD */
.dev-divider {
  margin: 2px auto;

  width: 80%;
  max-width: 900px;
  height: 2.5px;
  border-radius: 2px;
  
  background: linear-gradient(
    90deg,
    transparent 0%,
    #7a7a7a8b 20%,
    #7a7a7acb 50%,
    #7a7a7a8b 80%,
    transparent 100%
  );
  opacity: 0.5;
}


.glitch-profile-wrapper{
  --bg-color: #0d0d0d;
  --primary-color: #00f2ea;
  --secondary-color: #a855f7;
  --text-color: #e5e5e5;
  --font-family: "Cooper Hewitt", Consolas, "Courier New", Courier, monospace;
  --glitch-anim-duration: 0.4s;

  display: flex;
  justify-content: right;
  align-items: center;
  position: relative;
  background: none; /* We now fully move background to ::before */
  filter: none;
  overflow: hidden;
  z-index: 0;

  border-top: 6px solid rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(0, 0, 0, 0.7);

  box-shadow:
    inset 0 10px 30px rgba(0, 0, 0, 0.3),
    inset 0 -10px 30px rgba(0, 0, 0, 0.3),
    0 -2px 15px rgba(0, 0, 0, 0.4),
    0 2px 15px rgba(0, 0, 0, 0.4);
}

.glitch-profile-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: 
    linear-gradient(to right, 
      rgba(0, 0, 0, 0.605) 10%,
      rgba(0, 0, 0, 0.114) 15%,
      rgba(0, 0, 0, 0.459) 20%,
      transparent 25%, 
      transparent 75%, 
      rgba(0, 0, 0, 0.484) 80%,
      rgba(0, 0, 0, 0.724) 90%,
      rgb(0, 0, 0) 100%
    ),
    url('../images-new/bg3.jpg') center/cover no-repeat;

  background-blend-mode: darken;
  filter: blur(7px) brightness(26%) contrast(1.1) saturate(1.1);
  opacity: 1;
}

/* --- Card Structure --- */
.glitch-card {
  font-family: var(--font-family);
  position: relative;
  background-color: var(--bg-color);
  width: 19rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 242, 234, 0.2);
  box-shadow:
    0 0 1.5rem rgba(0, 242, 234, 0.1),
    inset 0 0 1rem rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-header-visual {
  height: 6.5rem;
  background-image: 
    linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)),
    url('../test1.jpg'); /* replace with your actual image path */
  background-size: cover;
  background-position: center;
  border-radius: 10%;
  border: 10px solid rgba(0, 0, 0, 0.509);
  box-shadow: 
    inset 0 2px 4px rgba(255, 255, 255, 0.1),
    inset 0 -2px 6px rgba(0, 0, 0, 0.3),
    0 4px 10px rgba(0, 242, 234, 0.1),
    0 0 10px rgba(168, 85, 247, 0.15);
  position: relative;
  z-index: 1;
  overflow: hidden;
}


/* --- Avatar --- */
.profile-avatar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0.75rem;
  z-index: 2;
  width: 5.5rem;
  height: 5.5rem;
  background: var(--bg-color);
  border-radius: 50%;
  padding: 0.9rem;
  box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 242, 234, 0.3);
  transition: background-color 0.5s ease-in-out;
}

.octocat-svg {
  width: 100%;
  height: 100%;
  fill: var(--primary-color);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 10px rgba(0, 242, 234, 0.3));
}

.profile-avatar:hover {
  background-color: var(--primary-color);
}
.profile-avatar:hover .octocat-svg {
  fill: var(--bg-color);
  transform: scale(1.1) rotate(-5deg);
}

/* --- Card Body --- */
.card-body {
  padding: 1.1rem;
  padding-top: 0;
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.profile-body {
  align-items: center;
  text-align: center;
  padding-top: 2.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.profile-info {
  margin-bottom: 1.1rem;
}
.profile-name {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
  position: relative;
  cursor: pointer;
}
.profile-title {
  font-size: 0.75rem;
  color: var(--primary-color);
  opacity: 0.8;
  margin: 0.25rem 0 0 0;
  letter-spacing: 0.1em;
}

/* --- GitHub Stats --- */
.profile-stats {
  width: 100%;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 242, 234, 0.2);
  display: flex;
  justify-content: space-around;
}
.stat-item {
  text-align: center;
  cursor: pointer;
}
.stat-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-color);
  opacity: 0.6;
  letter-spacing: 0.1em;
}
.stat-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 0.25rem;
  position: relative;
}

/* --- Button --- */
.submit-btn {
  display: block;
  width: 100%;
  margin-top: 1.1rem;
  padding: 0.7em 1em;
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
}

.submit-btn:hover,
.submit-btn:focus {
  background-color: var(--primary-color);
  color: var(--bg-color);
  box-shadow: 0 0 1.5rem var(--primary-color);
  outline: none;
}

.submit-btn:active {
  transform: scale(0.97);
}
.submit-btn .btn-text {
  position: relative;
  z-index: 1;
  transition: opacity 0.2s ease;
}

/* --- Glitch Effects --- */
.profile-name:hover::before,
.profile-name:hover::after,
.stat-value:hover::before,
.stat-value:hover::after,
.submit-btn:hover::before,
.submit-btn:hover::after,
.submit-btn:focus::before,
.submit-btn:focus::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-name:hover,
.stat-item:hover .stat-value {
  color: transparent;
}
.submit-btn:hover .btn-text {
  opacity: 0;
}
.profile-name:hover::before,
.stat-value:hover::before,
.submit-btn:hover::before,
.submit-btn:focus::before {
  opacity: 1;
  color: var(--secondary-color);
  animation: glitch-anim var(--glitch-anim-duration)
    cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.profile-name:hover::after,
.stat-value:hover::after {
  background-color: var(--bg-color);
  color: var(--primary-color);
  animation: glitch-anim var(--glitch-anim-duration)
    cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both;
}

.submit-btn:hover::after,
.submit-btn:focus::after {
  color: var(--bg-color);
  animation: glitch-anim var(--glitch-anim-duration)
    cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both;
}

@keyframes glitch-anim {
  0% {
    transform: translate(0);
    clip-path: inset(0 0 0 0);
  }
  20% {
    transform: translate(-0.3rem, 0.15rem);
    clip-path: inset(50% 0 20% 0);
  }
  40% {
    transform: translate(0.15rem, -0.1rem);
    clip-path: inset(20% 0 60% 0);
  }
  60% {
    transform: translate(-0.25rem, 0.1rem);
    clip-path: inset(80% 0 5% 0);
  }
  80% {
    transform: translate(0.25rem, -0.15rem);
    clip-path: inset(30% 0 45% 0);
  }
  100% {
    transform: translate(0);
    clip-path: inset(0 0 0 0);
  }
}







/* DEVELOPER PROFILE CARDS SOCIAL */
/* From Uiverse.io by _7754 */ 
.container {
  display: flex;
  column-gap: 28px;
}

.icon {
  display: inline-flex;
  width: 60px;
  height: 60px;
  text-decoration: none;
  font-size: 25px;
  outline: 2px solid white;
  border-radius: 50%;
  transition-property: outline-offset, outline-color, background-color;
  transition-duration: 0.25s;
  color: white;
}

.icon:hover {
  outline-offset: 4px;
}

.icon svg {
  margin: auto;
  width: 31px;
}

.icon-instagram:hover {
  background-color: red;
  outline-color: red;
}

.icon-dis:hover {
  background-color: rgb(76, 0, 255);
  outline-color: rgb(76, 0, 255);
}

.icon-github:hover {
  background-color: #555555;
  outline-color: #555555;
}

.icon-in:hover {
  background-color: #0a66c2;
  outline-color: #0a66c2;
}

.icon:hover svg {
  animation: shake 0.25s;
}

@keyframes shake {
  10% {
    transform: rotate(15deg);
  }
  20% {
    transform: rotate(-15deg);
  }
}










































/* From Uiverse.io by Lakshay-art */

.white-xenex,
.border-xenex,
.darkBorderBg-xenex,
.glow-xenex {
  max-height: 70px;
  max-width: 314px;
  height: 80%;
  width: 100%;
  position: absolute;
  overflow: hidden;
  z-index: -1;
  border-radius: 12px;
  filter: blur(3px);
}

.input-xenex {
  background-color: #010201;
  border: none;
  width: 301px;
  height: 56px;
  border-radius: 10px;
  color: white;
  padding-inline: 59px;
  font-size: 18px;
}

.input-xenex::placeholder {
  color: #c0b9c0;
}

.input-xenex:focus {
  outline: none;
}

#main:focus-within > #input-mask {
  display: none;
}

#input-mask {
  pointer-events: none;
  width: 100px;
  height: 20px;
  position: absolute;
  background: linear-gradient(90deg, transparent, black);
  top: 18px;
  left: 70px;
}

#pink-mask {
  pointer-events: none;
  width: 30px;
  height: 20px;
  position: absolute;
  background: #cf30aa;
  top: 10px;
  left: 5px;
  filter: blur(20px);
  opacity: 0.8;
  transition: all 2s;
}

#main:hover > #pink-mask {
  opacity: 0;
}

.white-xenex {
  max-height: 63px;
  max-width: 307px;
  border-radius: 10px;
  filter: blur(2px);
}

.white-xenex::before {
  content: "";
  z-index: -2;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(83deg);
  position: absolute;
  width: 600px;
  height: 600px;
  background-repeat: no-repeat;
  background-position: 0 0;
  filter: brightness(1.4);
  background-image: conic-gradient(
    rgba(0, 0, 0, 0) 0%,
    #a099d8,
    rgba(0, 0, 0, 0) 8%,
    rgba(0, 0, 0, 0) 50%,
    #dfa2da,
    rgba(0, 0, 0, 0) 58%
  );
  transition: all 2s;
}

.border-xenex {
  max-height: 59px;
  max-width: 303px;
  border-radius: 11px;
  filter: blur(0.5px);
}

.border-xenex::before {
  content: "";
  z-index: -2;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(70deg);
  position: absolute;
  width: 600px;
  height: 600px;
  filter: brightness(1.3);
  background-repeat: no-repeat;
  background-position: 0 0;
  background-image: conic-gradient(
    #1c191c,
    #402fb5 5%,
    #1c191c 14%,
    #1c191c 50%,
    #cf30aa 60%,
    #1c191c 64%
  );
  transition: all 2s;
}

.darkBorderBg-xenex {
  max-height: 65px;
  max-width: 312px;
}

.darkBorderBg-xenex::before {
  content: "";
  z-index: -2;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(82deg);
  position: absolute;
  width: 600px;
  height: 600px;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-image: conic-gradient(
    rgba(0, 0, 0, 0),
    #18116a,
    rgba(0, 0, 0, 0) 10%,
    rgba(0, 0, 0, 0) 50%,
    #6e1b60,
    rgba(0, 0, 0, 0) 60%
  );
  transition: all 2s;
}

#poda:hover > .darkBorderBg-xenex::before {
  transform: translate(-50%, -50%) rotate(-98deg);
}
#poda:hover > .glow-xenex::before {
  transform: translate(-50%, -50%) rotate(-120deg);
}
#poda:hover > .white-xenex::before {
  transform: translate(-50%, -50%) rotate(-97deg);
}
#poda:hover > .border-xenex::before {
  transform: translate(-50%, -50%) rotate(-110deg);
}

#poda:focus-within > .darkBorderBg-xenex::before {
  transform: translate(-50%, -50%) rotate(442deg);
  transition: all 4s;
}
#poda:focus-within > .glow-xenex::before {
  transform: translate(-50%, -50%) rotate(420deg);
  transition: all 4s;
}
#poda:focus-within > .white-xenex::before {
  transform: translate(-50%, -50%) rotate(443deg);
  transition: all 4s;
}
#poda:focus-within > .border-xenex::before {
  transform: translate(-50%, -50%) rotate(430deg);
  transition: all 4s;
}

.glow-xenex {
  overflow: hidden;
  filter: blur(30px);
  opacity: 0.4;
  max-height: 130px;
  max-width: 354px;
}

.glow-xenex::before {
  content: "";
  z-index: -2;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(60deg);
  position: absolute;
  width: 999px;
  height: 999px;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-image: conic-gradient(
    #000,
    #402fb5 5%,
    #000 38%,
    #000 50%,
    #cf30aa 60%,
    #000 87%
  );
  transition: all 2s;
}

@keyframes rotate {
  100% {
    transform: translate(-50%, -50%) rotate(450deg);
  }
}

@keyframes leftright {
  0% {
    transform: translate(0px, 0px);
    opacity: 1;
  }
  49% {
    transform: translate(250px, 0px);
    opacity: 0;
  }
  80% {
    transform: translate(-40px, 0px);
    opacity: 0;
  }
  100% {
    transform: translate(0px, 0px);
    opacity: 1;
  }
}

#filter-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  max-height: 40px;
  max-width: 38px;
  height: 100%;
  width: 100%;
  isolation: isolate;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(180deg, #161329, black, #1d1b4b);
  border: 1px solid transparent;
}

.filterBorder-xenex {
  height: 42px;
  width: 40px;
  position: absolute;
  overflow: hidden;
  top: 7px;
  right: 7px;
  border-radius: 10px;
}

.filterBorder-xenex::before {
  content: "";
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  position: absolute;
  width: 600px;
  height: 600px;
  background-repeat: no-repeat;
  background-position: 0 0;
  filter: brightness(1.35);
  background-image: conic-gradient(
    rgba(0, 0, 0, 0),
    #3d3a4f,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0) 50%,
    #3d3a4f,
    rgba(0, 0, 0, 0) 100%
  );
  animation: rotate 4s linear infinite;
}

#main {
  position: relative;
}

#search-icon {
  position: absolute;
  left: 20px;
  top: 15px;
}


.button-Clear-Search-Input {
  opacity: 0;
  transform: translateX(20px); /* initially off to the right */
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  font-family: 'Cyberway';
  letter-spacing: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 17px;
  padding: 0.8em 1.3em 0.8em 0.9em;
  color: white;
  background: #ad5389;
  background: linear-gradient(to right, #0f0c29, #302b63, #24243e);
  border: none;
  border-radius: 20px;
}

.button-Clear-Search-Input svg {
  margin-right: 3px;
  transform: rotate(30deg);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.button-Clear-Search-Input span {
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.button-Clear-Search-Input:hover svg {
  transform: translateX(5px) rotate(90deg);
}

.button-Clear-Search-Input:hover span {
  transform: translateX(7px);
}




/* SUCCESS POP-UP */
.card-success-pop {
  width: 330px;
  height: 80px;
  border-radius: 8px;
  box-sizing: border-box;
  padding: 10px 15px;
  background-color: #ffffff;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 15px;
}

.wave-success-pop {
  position: absolute;
  transform: rotate(90deg);
  left: -31px;
  top: 32px;
  width: 80px;
  fill: #4777ff3a;
}

.icon-container-success-pop {
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #4777ff48;
  border-radius: 50%;
  margin-left: 8px;
}

.icon-success-pop {
  width: 17px;
  height: 17px;
  color: #124fff;
}

.message-text-container-success-pop {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex-grow: 1;
}

.message-text-success-pop,
.sub-text-success-pop {
  margin: 0;
  cursor: default;
}

.message-text-success-pop {
  color: #124fff;
  font-size: 17px;
  font-weight: 700;
}

.sub-text-success-pop {
  font-size: 14px;
  color: #555;
}

.cross-icon-success-pop {
  width: 18px;
  height: 18px;
  color: #555;
  cursor: pointer;
}


#success-popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#success-popup-overlay.show {
  display: flex;
  opacity: 1;
}

#success-popup-card {
  transform: translateY(50px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

#success-popup-overlay.show #success-popup-card {
  transform: translateY(0);
  opacity: 1;
}






#search-lane {
  position: relative;
  padding-top: 1.7rem;
  padding-bottom: 1rem;
  padding-right: 40px;
  margin-left: -40px;

  background: none; /* We now fully move background to ::before */
  filter: none;
  overflow: hidden;
  z-index: 0;

  border-top: 6px solid rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(0, 0, 0, 0.7);

  box-shadow:
    inset 0 10px 30px rgba(0, 0, 0, 0.3),
    inset 0 -10px 30px rgba(0, 0, 0, 0.3),
    0 -2px 15px rgba(0, 0, 0, 0.4),
    0 2px 15px rgba(0, 0, 0, 0.4);
}

#search-lane::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background: 
    linear-gradient(to right, 
      rgba(0, 0, 0, 1) 0%, 
      transparent 25%, 
      transparent 75%, 
      rgba(0, 0, 0, 1) 100%
    ),
    url('../images-new/bg/bar-bg.jpg') center/cover no-repeat;

  background-blend-mode: darken;
  filter: blur(1px) brightness(60%) contrast(1.2) saturate(1.1);
  opacity: 1;

  box-shadow:
    inset 100px 0 120px rgba(0, 0, 0, 0.6),
    inset -100px 0 120px rgba(0, 0, 0, 0.6);
}





