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

:root {
  --bg: #000;
  --surface: #0a0a0a;
  --surface-2: #111;
  --surface-3: #151515;
  --text: #fff;
  --text-soft: #d2d2d2;
  --text-muted: #a7a7a7;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --gradient-main: linear-gradient(to right, #f32170, #ff6b08, #cf23cf, #eedd44);
  --gradient-stack: linear-gradient(135deg, #00f5a0, #18d1b7, #0fa9ff, #2563ff)
}

html {
  scroll-behavior: smooth
}

body {
  font-family: "Sora", sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.03), transparent 28%),
    #000;
  color: var(--text);
  letter-spacing: 0.01em
}

img,
video {
  display: block;
  max-width: 100%
}

a {
  text-decoration: none;
  color: inherit
}

main {
  width: 100%
}

section {
  padding: 110px 20px
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px
}

.section-tag {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 14px
}

.section-description {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.85;
  max-width: 680px
}

/* ABOUT */
.about-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(243, 33, 112, 0.08), transparent 25%),
    radial-gradient(circle at 80% 25%, rgba(255, 107, 8, 0.08), transparent 24%),
    radial-gradient(circle at 70% 75%, rgba(207, 35, 207, 0.08), transparent 24%),
    #000;
  padding-top: 72px;
  padding-bottom: 72px;
  overflow: hidden
}

#particles-js {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: auto
}

.about-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 60px
}

.about-photo-column {
  display: flex;
  justify-content: center
}

.photo-gradient {
  position: relative;
  width: 290px;
  height: 290px;
  padding: 3px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 60px rgba(243, 33, 112, 0.12);
  animation: floatPhoto 5s ease-in-out infinite
}

.photo-gradient::after {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 33, 112, 0.18), transparent 65%);
  z-index: -1;
  filter: blur(14px);
  animation: glowPulse 3.8s ease-in-out infinite
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #111
}

.about-text-wrap {
  max-width: 760px
}

.about-text-wrap h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin-bottom: 12px
}

.about-role {
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  font-weight: 500;
  color: #d8d8d8;
  margin-bottom: 18px;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap
}

.typed-wrapper {
  display: inline-flex;
  align-items: center;
  min-height: 1.5em
}

.input {
  font-weight: 700;
  letter-spacing: -0.01em;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent
}

.typed-cursor {
  color: #ffffff;
  font-weight: 400
}

.about-text-wrap p {
  font-size: 0.97rem;
  color: var(--text-soft);
  line-height: 1.85;
  max-width: 670px
}

.about-lead {
  margin-bottom: 14px
}

.about-description {
  margin-bottom: 24px
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px
}

.about-highlight {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 15px 16px;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease
}

.about-highlight:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05)
}

.highlight-label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 8px
}

.about-highlight strong {
  display: block;
  font-size: 0.93rem;
  line-height: 1.55;
  letter-spacing: -0.01em
}

/* PROJECTS */
.projects-section {
  background: #000
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px
}

.project-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100%;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease
}

.project-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  transition: left 0.8s ease;
  pointer-events: none
}

.project-card:hover::after {
  left: 130%
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.32)
}

.project-image {
  width: 100%;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    #101010;
  transition: transform 0.28s ease;
  border: 1px solid rgba(255, 255, 255, 0.05)
}

.project-card:hover .project-image {
  transform: scale(1.015)
}

.project-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  background: #0f0f0f
}

.project-body {
  display: flex;
  flex-direction: column;
  flex: 1
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px
}

.project-top h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.03em
}

.project-type {
  font-size: 0.76rem;
  color: #f2f2f2;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 8px 12px;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase
}

.project-body p {
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 22px;
  flex: 1;
  font-size: 0.95rem
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px
}

.project-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #121212;
  border: 1px solid var(--line-strong);
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease
}

.project-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  background: #181818
}

.project-links i {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent
}

/* STACK */
.stack-section {
  background: #000
}

.stack-heading {
  margin-bottom: 32px
}

.stack-tag {
  background: var(--gradient-stack);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent
}

.stack-panel {
  position: relative;
  border-radius: 30px;
  padding: 1px;
  background: var(--gradient-stack);
  overflow: hidden
}

.stack-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: linear-gradient(180deg, #0a0a0a, #080808);
  border-radius: 29px
}

.stack-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: -35%;
  width: 32%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.06),
    transparent
  );
  animation: stackShine 6s linear infinite
}

.stack-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 26px
}

.stack-item {
  min-height: 112px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease
}

.stack-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1)
}

.stack-item i {
  font-size: 1.9rem;
  background: var(--gradient-stack);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent
}

.stack-item span {
  font-weight: 600;
  color: #f2f2f2;
  font-size: 0.94rem;
  letter-spacing: -0.01em
}

/* CONTACT */
.contact-section {
  position: relative;
  background: #000;
  overflow: hidden
}

.contact-bg-glow {
  position: absolute;
  width: 430px;
  height: 430px;
  right: -120px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(243, 33, 112, 0.16), transparent 68%);
  filter: blur(12px);
  pointer-events: none
}

.contact-heading {
  text-align: center;
  margin-left: auto;
  margin-right: auto
}

.contact-heading .section-description {
  margin-left: auto;
  margin-right: auto
}

.contact-panel {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 30px;
  padding: 1px;
  background: var(--gradient-main);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34)
}

.contact-panel-content {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 34px;
  padding: 42px;
  border-radius: 29px;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(14px)
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center
}

.contact-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #f2f2f2;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em
}

.contact-copy h3 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.14;
  letter-spacing: -0.04em;
  margin-bottom: 16px
}

.contact-copy p {
  max-width: 580px;
  color: var(--text-soft);
  line-height: 1.9;
  font-size: 0.97rem;
  margin-bottom: 28px
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08)
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.meta-title {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted)
}

.meta-text {
  font-size: 0.96rem;
  color: #fff;
  letter-spacing: -0.01em
}

.refined-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-content: center
}

.contact-btn {
  min-height: 62px;
  padding: 16px 20px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease
}

.contact-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2)
}

.primary-btn {
  background: linear-gradient(
    to right,
    rgba(243, 33, 112, 0.75),
    rgba(255, 107, 8, 0.75),
    rgba(207, 35, 207, 0.75),
    rgba(238, 221, 68, 0.75)
  );
  border: none;
  color: #f2f2f2
}

.primary-btn i {
  color: #777;
  -webkit-text-fill-color: #777;
  background: none
}

.primary-btn:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 34px rgba(243, 33, 112, 0.2);
  background: linear-gradient(#111, #111) padding-box, var(--gradient-main) border-box;
  border: 1px solid transparent;
  color: transparent;
  background-image: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent
}

.primary-btn:hover i {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent
}

.contact-btn i {
  font-size: 1.06rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent
}

.contact-btn i.icon-white {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: #f2f2f2;
  color: #f2f2f2
}

.primary-btn:hover i.icon-white {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent
}

.contact-footer-note {
  margin-top: 28px;
  text-align: center;
  color: #777;
  font-size: 0.92rem;
  letter-spacing: 0.02em
}

/* ANIMATIONS */
@keyframes floatPhoto {
  0% {
    transform: translateY(0)
  }
  50% {
    transform: translateY(-8px)
  }
  100% {
    transform: translateY(0)
  }
}

@keyframes glowPulse {
  0% {
    opacity: 0.42;
    transform: scale(0.96)
  }
  50% {
    opacity: 0.75;
    transform: scale(1.03)
  }
  100% {
    opacity: 0.42;
    transform: scale(0.96)
  }
}

@keyframes stackShine {
  0% {
    left: -35%
  }
  100% {
    left: 120%
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  section {
    padding: 90px 20px
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center
  }

  .about-role {
    justify-content: center
  }

  .about-text-wrap p {
    margin-left: auto;
    margin-right: auto
  }

  .about-highlights {
    grid-template-columns: 1fr
  }

  .projects-grid {
    grid-template-columns: 1fr
  }

  .stack-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .contact-panel-content {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 34px 28px
  }

  .contact-copy p {
    max-width: 100%
  }
}

@media (max-width: 768px) {
  section {
    padding: 78px 16px
  }

  .photo-gradient {
    width: 230px;
    height: 230px
  }

  .section-heading {
    margin-bottom: 32px
  }

  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px
  }

  .project-image {
    height: 190px
  }

  .project-top {
    flex-direction: column;
    align-items: flex-start
  }

  .about-role {
    min-height: 54px
  }

  .contact-panel-content {
    padding: 28px 20px
  }

  .contact-meta {
    gap: 18px
  }
}

@media (max-width: 480px) {
  .about-text-wrap h1 {
    font-size: 2.2rem
  }

  .stack-grid {
    grid-template-columns: 1fr
  }

  .stack-item {
    min-height: 96px
  }

  .about-role {
    font-size: 1rem
  }

  .contact-copy h3 {
    font-size: 1.8rem
  }

  .contact-btn {
    min-height: 58px;
    font-size: 0.9rem
  }
}