@font-face {
  font-family: "squid";
  src: url("squid.ttf") format("truetype");
}
@import url("https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
}

body {
  height: 100vh;
  width: 100vw;
  user-select: none;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #5271ff #0a0f24;
}
* {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}
body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: #f0fdf4;
}

body::-webkit-scrollbar-thumb {
  border-radius: 10px;
  border: 2px solid #f0fdf4;
}

body::-webkit-scrollbar-thumb:hover {
  background-color: #3e8e41;
}

nav {
  height: 10vh;
  width: 100vw;
  display: flex;
  justify-content: space-around;
  align-items: center;
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  z-index: 999;
}
nav .logo {
  height: auto;
  width: auto;
}

.pages {
  position: relative;
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  color: #ffffff;
  text-decoration: none;
  font-family: "Urbanist", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.18s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
  color: #dbe6ff;
  outline: none;
}

.nav-link.is-active {
  color: #eaf0ff;
  font-weight: 600;
}

.nav-underline {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, #5271ff, #7b00ff);
  transform: translateX(0);
  transition: transform 300ms cubic-bezier(0.2, 0.9, 0.2, 0.95),
    width 300ms cubic-bezier(0.2, 0.9, 0.2, 0.95);
  will-change: transform, width;
  animation: scale 0.5s ease;
}

.nav-underline.hidden {
  width: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .nav-underline {
    transition: none !important;
  }
  .nav-link {
    transition: none !important;
  }
}

nav .pages {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 40%;
}
nav .pages a {
  text-decoration: none;
  color: white;
  font-family: "Urbanist", sans-serif;
  font-weight: 500;
  font-size: 1rem;
}
svg {
  overflow: visible;
}
#svgGroup path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  stroke: #fff;
  animation: draw 5s ease 0.5s infinite;
}
@keyframes draw {
  0% {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
  }
  50% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
  }
}
nav button {
  padding: 8px 15px;
  border: 1.8px solid #5271ff;
  background: transparent;
  color: #ffffff;
  font-family: "Urbanist", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: scale 0.5s ease;
}

@keyframes scale {
  0% {
    scale: 0;
  }
  100% {
    scale: 1;
  }
}

nav button:hover {
  background: #5271ff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(82, 113, 255, 0.3);
}

.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  width: 20px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.burger span:nth-child(2) {
  width: 13px;
}

.burger.toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.toggle span:nth-child(2) {
  opacity: 0;
}
.burger.toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
@media (max-width: 768px) {
  nav .pages {
    display: none;
  }
  nav .nav-cta {
    display: none;
  }
  .burger {
    display: flex;
  }
  .nav {
    gap: 20vw;
  }
}
:root {
  font-family: "Inter", sans-serif;
}
.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1000;
}

.burger span {
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(13, 17, 23, 0.9);
  backdrop-filter: blur(15px);
  z-index: 998;
  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-menu.open {
  opacity: 1;
  visibility: visible;
}

.menu-card {
  width: 75%;
  max-width: 400px;
  background: #161b22;
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.9);
  transition: transform 0.3s ease-out;
}

.nav-menu.open .menu-card {
  transform: scale(1);
}

.menu-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.5rem;
  padding: 5px;
  line-height: 1;
  transition: color 0.2s ease;
}
.menu-close-btn:hover {
  color: #7b00ff;
}

.menu-links-container .nav-link {
  width: 100%;
  padding: 20px 5px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #eaf0ff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: block;
}
.menu-header {
  padding-bottom: 5vh;
}
.menu-links-container .nav-link:first-child {
  padding-top: 0;
}
.menu-links-container .nav-link.is-active {
  color: #1a3deb;
  border-bottom: 1px solid #1a3deb;
}

.menu-content-block {
  text-align: center;
  padding-top: 20px;
}
.menu-content-block p {
  color: #a0a8b3;
  font-size: 0.95rem;
}

.cta-explore {
  --cut-size: 15px;
  display: inline-block;
  padding: 12px 30px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #5271ff, #1a3deb);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
  margin-top: 20px;

  clip-path: polygon(
    var(--cut-size) 0%,
    100% 0,
    calc(100% - var(--cut-size)) 100%,
    0 100%
  );
  transition: all 0.3s ease;
}
.cta-explore:hover {
  background: linear-gradient(90deg, #1a3deb, #5271ff);
  box-shadow: 0 0 25px rgba(123, 0, 255, 0.7);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  nav .pages {
    display: none !important;
  }
  nav .nav-cta {
    display: none;
  }
  .burger {
    display: flex;
  }
}

@media (min-width: 769px) {
  .nav-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

:root {
  --bg-dark-1: #07070a;
  --bg-dark-2: #0a0f24;
  --glow-left: #6b21a8;
  --glow-center: #1a3deb;
  --glow-right: #00d6ff;
}

.hero {
  position: relative;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  font-family: "Poppins", Inter, sans-serif;

  background: linear-gradient(
    180deg,
    var(--bg-dark-1) 0%,
    var(--bg-dark-2) 100%
  );
}

.hero__glow {
  position: absolute;
  width: 80vmax;
  height: 80vmax;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.85;
  mix-blend-mode: screen;
  transform: translate3d(0, 0, 0);
}

.glow--left {
  left: -10%;
  top: 10%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(107, 33, 168, 1) 0%,
    rgba(107, 33, 168, 0.6) 20%,
    rgba(107, 33, 168, 0) 55%
  );
  opacity: 0.45;
  filter: blur(120px);
}

.glow--center {
  left: 12%;
  top: -20%;
  background: radial-gradient(
    circle at 40% 20%,
    rgba(26, 61, 235, 1) 0%,
    rgba(26, 61, 235, 0.7) 18%,
    rgba(10, 15, 36, 0) 60%
  );
  opacity: 1;
  filter: blur(100px);
  width: 100vmax;
  height: 100vmax;
}

.glow--right {
  right: -18%;
  top: 10%;
  background: radial-gradient(
    circle at 70% 40%,
    rgba(0, 214, 255, 1) 0%,
    rgba(0, 214, 255, 0.55) 18%,
    rgba(10, 15, 36, 0) 55%
  );
  opacity: 0.7;
  filter: blur(120px);
  width: 90vmax;
  height: 90vmax;
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.05);
  }
}

.hero__glow {
  animation: pulseGlow 8s ease-in-out infinite alternate;
}

@media (max-width: 768px) {
  .hero__glow {
    width: 60vmax;
    height: 60vmax;
    filter: blur(70px);
    opacity: 0.8;
  }

  .glow--left {
    left: -20%;
    top: 15%;
    opacity: 0.4;
  }

  .glow--center {
    left: 0%;
    top: -10%;
    width: 80vmax;
    height: 80vmax;
    opacity: 0.9;
  }

  .glow--right {
    right: -25%;
    top: 30%;
    opacity: 0.6;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0) 45%,
    rgba(0, 0, 0, 0.45) 100%
  );
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(82, 113, 255, 0.25) 0%,
    transparent 70%
  );
  filter: blur(150px);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 5;
  max-width: 780px;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transform: translate(0px, 3vh);
}
.hero__content h1:nth-child(1) {
  font-size: clamp(1.9rem, 6vw, 3.7rem);
  margin: 0 0 0.6rem;
}

.hero__content h1 {
  font-size: 3rem;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  letter-spacing: -2px;
  color: #ffffff;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow: 0 6px 30px rgba(10, 15, 36, 0.4);
}
.h1-rotator {
  line-height: 1.2;
  padding: 5px;
  border-radius: 5px;
  display: flex;
  box-sizing: content-box;
}
.rotator {
  height: 1.2em;
  overflow: hidden;
  position: relative;
}
.rotator .rotator__inner {
  display: block;
  height: 100%;
  padding-left: 2vw;
  animation: role-change 4s infinite;
}
@keyframes role-change {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(0);
  }
  33% {
    transform: translateY(-100%);
  }

  58% {
    transform: translateY(-100%);
  }

  66% {
    transform: translateY(-200%);
  }

  91% {
    transform: translateY(-200%);
  }
  100% {
    transform: translateY(-300%);
  }
}

@keyframes wordIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .h1-kinetic span {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.hero__content h1 {
  animation: slideFade 1s ease forwards;
}
@keyframes slideFade {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__content p {
  font-family: "Inter", sans-serif;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  color: rgba(220, 230, 255, 0.9);
  font-size: 1.05rem;
  width: 90%;
  animation: fade 1s ease;
}
@keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.hero__content .button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  gap: 2vw;
}
.cta {
  background: linear-gradient(90deg, #1a3deb, #5271ff);
  background-size: 200% 100%;
  color: #ffffff;
  padding: 0.7rem 1.3rem;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  z-index: 6;
  box-shadow: 0 8px 30px rgba(26, 61, 235, 0.18);
  transition: background-position ease 0.5s;
  animation: slide 1s ease;
}
.cta:hover {
  background-position: 100% 0;
}
.cta2 {
  position: relative;
  padding: 0.7rem 1.3rem;
  border-radius: 10px;
  font-weight: bold;
  background: transparent;
  color: #fff;
  cursor: pointer;
  z-index: 0;
  overflow: hidden;
  border: 2px solid transparent;
  transition: box-shadow 0.2s ease;
}

.cta2::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(90deg, #1a3deb, #5271ff, #1a3deb);
  background-size: 200% 100%;
  z-index: -1;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: box-shadow 0.2s ease;
}
@keyframes slide {
  from {
    background-position: 0% 0%;
  }
  to {
    background-position: 200% 100%;
  }
}

.cta2::before {
  animation: borderMove 2s linear infinite;
}

.cta2:hover {
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 8px 30px rgba(82, 113, 255, 0.3);
}

@keyframes borderMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta2::before,
  .cta2:hover::before {
    animation: none !important;
  }
}

@keyframes float-slow {
  0% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-6px) translateX(6px) scale(1.01);
  }
  100% {
    transform: translateY(0) translateX(0) scale(1);
  }
}
.glow--center {
  animation: float-slow 18s ease-in-out infinite;
}
.glow--right {
  animation: float-slow 20s ease-in-out infinite;
}

.social {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 1.25rem 0 1.5rem;
}

.social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  overflow: visible;
}

.social-link i {
  display: inline-block;
  line-height: 1;
  transform: translateZ(0);
}

.social-label {
  position: absolute;
  left: 50%;
  bottom: -40px;
  transform: translateX(-50%) translateY(6px);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.social-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(26, 61, 235, 0.12);
}
.social-link {
  animation: scale 0.5s ease;
}
.social-link:hover i,
.social-link:focus i {
  filter: none;
}

.social-link[href*="facebook"]:hover,
.social-link[href*="facebook"]:focus {
  background: linear-gradient(
    180deg,
    rgba(59, 89, 152, 0.15),
    rgba(59, 89, 152, 0.06)
  );
  box-shadow: 0 10px 30px rgba(59, 89, 152, 0.12);
  color: #1877f2;
}
.social-link[href*="github"]:hover,
.social-link[href*="github"]:focus {
  background: linear-gradient(
    180deg,
    rgba(36, 39, 42, 0.12),
    rgba(36, 39, 42, 0.04)
  );
  box-shadow: 0 10px 30px rgba(36, 39, 42, 0.12);
  color: #111;
}
.social-link[href*="youtube"]:hover,
.social-link[href*="youtube"]:focus {
  background: linear-gradient(
    180deg,
    rgba(255, 23, 68, 0.12),
    rgba(255, 23, 68, 0.04)
  );
  box-shadow: 0 10px 30px rgba(255, 23, 68, 0.12);
  color: #ff1f45;
}
.social-link[href*="linkedin"]:hover,
.social-link[href*="linkedin"]:focus {
  background: linear-gradient(
    180deg,
    rgba(0, 119, 181, 0.12),
    rgba(0, 119, 181, 0.04)
  );
  box-shadow: 0 10px 30px rgba(0, 119, 181, 0.12);
  color: #0077b5;
}

.social-link:hover .social-label,
.social-link:focus .social-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
  .social {
    gap: 10px;
    margin: 0.9rem 0 1rem;
  }
  .social-link {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  .social-label {
    font-size: 12px;
    bottom: -36px;
  }
}

.social-link:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(26, 61, 235, 0.12),
    0 10px 30px rgba(26, 61, 235, 0.12);
}

.tech-icons {
  position: absolute;
  inset: 0;
  overflow: visible;
  z-index: 1;
  pointer-events: none;
}

.tech-icons i {
  position: absolute;
  font-size: 70px;
  opacity: 0.18;
  filter: drop-shadow(0 0 25px currentColor);
  transition: transform 0.3s ease;
}

.html-icon {
  top: 10%;
  left: 8%;
  color: #f16529;
  animation: float 5s ease-in-out infinite;
}

.css-icon {
  top: 15%;
  right: 10%;
  color: #5c8dff;
  animation: swing 6s ease-in-out infinite;
}

.js-icon {
  bottom: 15%;
  left: 80%;
  transform: translateX(-50%);
  color: #f7df1e;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes swing {
  0% {
    transform: rotate(45deg);
  }
  50% {
    transform: rotate(-45deg);
  }
  100% {
    transform: rotate(45deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.15);
  }
}

@media (max-width: 768px) {
  .tech-icons i {
    font-size: 50px;
    opacity: 0.12;
  }
}
@media (max-width: 1024px) {
  .hero {
    height: 65vh;
  }
}
@media (max-width: 768px) {
  .hero {
    height: 85dvh;
  }
  .hero__content p {
    line-height: 1.2;
    font-size: 0.8rem;
    margin-bottom: 2vh;
  }
  .hero__content h1:nth-child(1) {
    margin-bottom: 0.4vh;
  }
  .h1-rotator {
    margin-bottom: 1vh;
  }
}
@media (max-width: 350px) {
  .hero__content {
    scale: 0.8;
  }
}

:root {
  --about-bg-start: #061024;
  --about-bg-end: #0b1020;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.05);
  --text: #f4f7ff;
  --muted: rgba(244, 247, 255, 0.72);
  --accent: #5271ff;
  --card-radius: 14px;
  --container-max: 1180px;
}

.about {
  background: linear-gradient(
    180deg,
    var(--about-bg-start),
    var(--about-bg-end)
  );
  color: var(--text);
  padding: 6.5rem 1.5rem;
}

.title-text {
  text-align: center;
  background-image: linear-gradient(90deg, #f4f7ff 0%, #bfd6ff 60%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  position: relative;
}
.title-underline {
  display: block;
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  width: 0;
  transition: width 2s cubic-bezier(0.19, 1, 0.22, 1);
  border-radius: 15px;
}

.title-underline.is-visible {
  width: 15%;
}

.down {
  animation: down both;
  animation-timeline: view();
  animation-range: entry 2% cover 30%;
}
.right {
  animation: right both;
  animation-timeline: view();
  animation-range: entry 2% cover 30%;
}
.left {
  animation: left both;
  animation-timeline: view();
  animation-range: entry 2% cover 30%;
}
.scale {
  animation: scale both;
  animation-timeline: view();
  animation-range: entry 2% cover 20%;
}
@keyframes scale {
  from {
    scale: 0;
  }
  to {
    scale: 1;
  }
}
@keyframes right {
  from {
    transform: translateX(50px);
  }
  to {
    transform: translateX(0px);
  }
}
@keyframes left {
  from {
    transform: translateX(-80px);
  }
  to {
    transform: translateX(0px);
  }
}
@keyframes down {
  from {
    transform: translateY(100px);
  }
  to {
    transform: translateY(0px);
  }
}
.title-text::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  border-radius: 5px;
  transition: width 0.6s ease;
}

.title-text.visible::after {
  width: 15%;
}

.about__wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2.25rem;
  align-items: start;
  box-sizing: border-box;
}

.about__side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.about__avatar-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  animation: left both;
  animation-timeline: view();
  animation-range: entry 2% cover 20%;
  scale: 1;
  transition: scale 600ms cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 300ms ease;
  will-change: scale;
}
.about__avatar-wrap:hover {
  scale: 1.1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.about__avatar {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
}

.about__stats {
  display: flex;
  gap: 0.9rem;
  width: 100%;
  justify-content: space-between;
}
.stat {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 0.8rem 1rem;
  border-radius: 12px;
  width: 33%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.45);
  transform: translateY(0px);
  transition: transform 300ms cubic-bezier(0.2, 0.9, 0.3, 1);
  will-change: transform;
}
.stat:hover {
  transform: translateY(-10px);
}
.stat__num {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
}
.stat__label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px;
}

.about__content {
  display: block;
}

.about__card {
  background: var(--glass-bg);
  border-radius: var(--card-radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1vh;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.6);
}

@supports not (
  (-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))
) {
  .about__card {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0.01)
    );
  }
}

.about__title {
  font-family: "Poppins", "Urbanist", sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  margin: 0 0 0.8rem 0;
  color: var(--text);
}
.about__lead {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 0.8rem;
}
.about__text {
  color: var(--muted);
  line-height: 1.6;
  max-width: 700px;
  margin: 1rem 0;
}

.about__text {
  text-align: justify;
  overflow-wrap: anywhere;
}

.about__text span {
  display: inline-block;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.4s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.about__text.is-animated span {
  opacity: 1;
  transform: scale(1);
}
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.about__skills {
  margin: 1rem 0 1.2rem 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chip {
  display: inline-block;
  padding: 6px 10px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.45);
  transition: all 0.2s ease;
}

.chip:hover {
  transform: translateY(-3px);
  scale: 1.1;
}

.about__actions {
  margin-top: 0.6rem;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-family: "Urbanist", sans-serif;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: linear-gradient(90deg, #264eff, #3d61ff);
  background-size: 200% 100%;
  background-position: 200% 0;
  color: white;
  /* box-shadow: 0 12px 40px rgba(123, 0, 255, 0.14); */
  transition: background-position 0.4s ease, box-shadow 300ms ease;
}
.btn--primary:hover {
  background-position: 100% 0;
}
.btn--ghost {
  position: relative;
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: color 0.2s ease;
}
.btn--ghost::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #264eff, #3d61ff);
  z-index: 0;
  transition: width 0.4s ease;
}
.btn--ghost:hover::before {
  width: 100%;
}
.btn--ghost:hover {
  color: white;
}
.btn--ghost span {
  z-index: 1;
}

@media (max-width: 1024px) {
  .about__wrap {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .about__avatar-wrap {
    animation: scale both;
    animation-timeline: view();
    animation-range: entry 2% cover 20%;
  }
  .about__avatar {
    width: 220px;
    height: 220px;
  }
  .about__stats {
    justify-content: space-between;
    gap: 8px;
  }
  .about__card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 3.5rem 1rem;
  }
  .about__avatar {
    width: 180px;
    height: 180px;
    border-radius: 12px;
  }
  .stat {
    padding: 0.65rem 0.8rem;
  }
  .about__title {
    font-size: 1.5rem;
  }
  .chip {
    font-size: 0.8rem;
    padding: 6px 8px;
  }
}

.about__card a {
  font-weight: 700;
}

.projects {
  width: 100%;
  height: 100dvh;
  text-align: center;
  overflow: hidden;
  position: relative;
  touch-action: none;
  background: conic-gradient(
    from 200deg at 50% 45%,
    #1a083a 0deg 120deg,
    #130425 120deg 220deg,
    #0f0322 220deg 360deg
  );
  background-size: cover;

  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  perspective: 1000px;
  overflow-y: auto;
  overflow-x: hidden;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}
.projects::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 110vmin;
  height: 110vmin;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(206, 80, 255, 0.045) 0%,
    rgba(206, 80, 255, 0.02) 12%,
    transparent 25%
  );
  filter: blur(36px);
  mix-blend-mode: overlay;
  z-index: 0;
}
@media (max-width: 1024px) {
  .projects {
    background: conic-gradient(
      from 200deg at 80% 45%,
      #1a083a 0deg 120deg,
      #130425 120deg 220deg,
      #0f0322 220deg 360deg
    );
    height: 80vh;
  }
}
@media (max-width: 400px) {
  .projects {
    height: 100dvh;
  }
}

.projects::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.6));
  pointer-events: none;
}

.pause-play {
  height: 50px;
  width: 50px;
  position: absolute;
  bottom: 20px;
  left: 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.pause-play i {
  height: 100%;
  width: 100%;
  font-size: 2.5rem;
  background: linear-gradient(90deg, #ce50ff 0%, #9a43e8 45%, #48169e 100%);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hidden {
  display: none;
}

.up-icon,
.down-icon {
  font-size: 2.3rem;
  position: absolute;
  right: 2vw;
  background: linear-gradient(90deg, #ce50ff 0%, #9a43e8 45%, #48169e 100%);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  z-index: 999;
}
@media (min-width: 768px) {
  .up-icon,
  .down-icon {
    display: none;
  }
}
.up-icon {
  top: 50px;
}
.down-icon {
  bottom: 20px;
}

.projects .slider {
  width: 200px;
  height: 270px;
  transform-style: preserve-3d;
  transform: rotateY(var(--current-rotation, 0deg));
  --current-rotation: 0deg;
  --quantity: 6;
  --tz: 450px;
  touch-action: pan-x;
  -ms-touch-action: pan-x;
}

@media (max-width: 400px) {
  .projects .slider {
    width: 180px;
    height: 250px;
  }
}

.projects .slider .item {
  position: absolute;
  inset: 0 0 0 0;
  scale: 1;
  transform: rotateY(
      calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)
    )
    translateZ(var(--tz));
  transition: transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1), scale 0.4s ease;
  will-change: transform;
}

.projects .slider .item.focused-scale {
  transform: rotateY(
      calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)
    )
    translateZ(var(--tz)) scale(1.1);

  transition: transform 200ms ease-out;
  pointer-events: auto;
}

.projects .slider .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  display: block;
}

@media (max-width: 1025px) {
  .projects .slider {
    --tz: 300px;
  }
}

@media (max-width: 768px) {
  .projects .slider {
    --tz: 220px;
  }
}

.item {
  text-align: left;
}

.card {
  width: 200px;
  height: 270px;
  perspective: 900px;
  outline: 1px solid transparent;
}
@media (max-width: 350px) {
  .card {
    width: 180px;
    height: 250px;
  }
}

.wrap {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateZ(0);
}

.flipped .wrap {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.face {
  position: absolute;
  inset: 0;
  padding: 10%;
  border-radius: 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.face small {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

.face p {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

.project-image {
  width: 100%;
  height: 50%;
}

.project-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.front {
  background: linear-gradient(180deg, #1a083a, #130425);
  border: 1px solid rgba(255, 255, 255, 0.04);
  z-index: 3;
}

.back {
  background: linear-gradient(180deg, #0f0322, #090217);
  border: 1px solid rgba(206, 80, 255, 0.08);
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  z-index: 1;
}

.back h2 {
  font-size: 1rem;
  transform: translateY(10px);
  margin-top: 6px;
}

.flipped .front {
  z-index: 1;
}

.flipped .back {
  z-index: 4;
}

button {
  cursor: pointer;
}

.face h2 {
  text-shadow: 0 0 1px transparent;
  margin: 0 0 0.5vh 0;
  color: #fff;
  font-family: Arial, sans-serif;
  letter-spacing: -0.03rem;
}

.front h2 {
  font-size: 1.1rem;
}

.face p {
  text-shadow: 0 0 1px transparent;
  color: #d0cfe6;
  font-size: 0.6rem;
}

.back a {
  text-shadow: 0 0 1px transparent;
  color: #ce50ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
}

.concept-tag {
  font-size: 0.6rem;
  color: #ce50ff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 0 1px transparent;
}

.back-desc-container {
  margin-top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-desc {
  text-shadow: 0 0 1px transparent;
  font-size: 1rem;
  margin: 0;
  color: #e6e0ff;
}

.projects .title {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translate(-50%, 0%);
  background: linear-gradient(90deg, #ce50ff 0%, #9a43e8 45%, #48169e 100%);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 1px;
  font-family: "Poppins", "Urbanist", sans-serif;
}

@media (max-width: 420px) {
  .project-title {
    top: 2.5%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .projects::after {
    filter: blur(28px);
  }
}

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

.contact-container {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #f1f5f9;
  font-family: "Inter", sans-serif;
  scrollbar-width: thin;
  scrollbar-color: #5271ff #0a0f24;
  overflow-y: hidden;
}
.contact-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2rem;
  margin: 2rem;
}
.contact-left h1 {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
}
.contact-left p {
  text-align: center;
  color: #cbd5e1;
  margin-bottom: 2rem;
}
.input-group {
  position: relative;
  margin-bottom: 1.5rem;
}
.input-group input,
.input-group textarea {
  width: 100%;
  padding: 1rem 0.5rem;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #f1f5f9;
  outline: none;
}
.input-group label {
  position: absolute;
  left: 0.5rem;
  top: 1rem;
  color: rgba(255, 255, 255, 0.6);
  transition: 0.3s;
  pointer-events: none;
}
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
  top: -0.5rem;
  font-size: 0.8rem;
  color: #38bdf8;
}
.button-submit {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 1rem;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s;
}
.button-submit:hover {
  transform: scale(1.02);
}
.contact-right {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem;
}
#networkCanvas {
  width: 100%;
  height: 100%;
}
@media (max-width: 1024px) {
  .contact-container {
    flex-direction: column;
  }
  .contact-right {
    height: 400px;
  }
}
@media (max-width: 768px) {
  .contact-left h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  .contact-left p {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
}
@media (max-width: 380px) {
  .contact-left h1 {
    font-size: 1.2rem;
    scale: 1.4;
  }
}
