/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #07091a;
  color: #e8e8f0;
  overflow-x: hidden;
}

/* ===== STAR CANVAS ===== */
#starCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== MOON ===== */
.moon {
  position: fixed;
  top: 60px;
  right: 80px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff8e1, #ffe082 40%, #ffb300 70%, #e65100);
  box-shadow:
    0 0 40px 15px rgba(255, 210, 80, 0.35),
    0 0 90px 40px rgba(255, 180, 50, 0.18),
    0 0 160px 80px rgba(255, 150, 30, 0.08);
  z-index: 1;
  animation: moonFloat 8s ease-in-out infinite;
}

.moon::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 30px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(200, 140, 0, 0.35);
}

.moon::after {
  content: '';
  position: absolute;
  top: 55px;
  left: 80px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(200, 140, 0, 0.25);
  box-shadow: -30px 30px 0 8px rgba(200, 140, 0, 0.2), 20px -20px 0 5px rgba(200, 140, 0, 0.15);
}

@keyframes moonFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-18px);
  }
}

/* ===== SECTION WRAPPER ===== */
section {
  position: relative;
  z-index: 2;
  padding: 90px clamp(24px, 6vw, 120px) 70px;
}

#home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 80px;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: rgba(12, 12, 32, 0.75);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(160, 130, 255, 0.2);
  border-radius: 50px;
  padding: 10px 24px;
  display: flex;
  gap: 6px;
}

nav a {
  text-decoration: none;
  color: rgba(200, 200, 230, 0.6);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #fff;
  background: rgba(160, 100, 255, 0.35);
  box-shadow: 0 0 12px rgba(140, 80, 255, 0.4);
}

nav a svg {
  width: 13px;
  height: 13px;
}

/* ===== MARQUEE ===== */
.marquee-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  padding: 12px 0;
  border-bottom: 1px solid rgba(160, 130, 255, 0.1);
  background: rgba(7, 9, 26, 0.5);
  z-index: 10;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 20s linear infinite;
}

.marquee-track span {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(180, 160, 255, 0.6);
  padding: 0 28px;
}

.marquee-track span.dot {
  color: #a78bfa;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ===== HERO SECTION ===== */
#home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 80px;
}

.hero-content {
  max-width: 560px;
}

/* ===== HERO RIGHT ===== */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 520px;
}

.hero-moon-orb {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #fff8e1, #ffe082 35%, #ffb300 60%, #c97d00 85%);
  box-shadow:
    0 0 0 18px rgba(255, 200, 80, 0.07),
    0 0 0 36px rgba(255, 200, 80, 0.05),
    0 0 60px 20px rgba(255, 200, 80, 0.3),
    0 0 130px 60px rgba(255, 160, 40, 0.15);
  animation: moonFloat 7s ease-in-out infinite;
  z-index: 3;
}

.hero-moon-orb::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(180, 110, 0, 0.3);
}

.hero-moon-orb::after {
  content: '';
  position: absolute;
  top: 95px;
  left: 130px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(180, 110, 0, 0.22);
  box-shadow: -50px 45px 0 12px rgba(180, 110, 0, 0.18), 30px -35px 0 8px rgba(180, 110, 0, 0.14);
}

/* Orbit ring */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(160, 130, 255, 0.2);
  animation: orbitSpin linear infinite;
}

.orbit-ring:nth-child(1) {
  width: 340px;
  height: 340px;
  animation-duration: 18s;
}

.orbit-ring:nth-child(2) {
  width: 430px;
  height: 430px;
  animation-duration: 28s;
  animation-direction: reverse;
  border-color: rgba(255, 200, 80, 0.12);
}

.orbit-ring:nth-child(3) {
  width: 500px;
  height: 500px;
  animation-duration: 40s;
  border-color: rgba(120, 80, 255, 0.1);
}

@keyframes orbitSpin {
  from {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(360deg)
  }
}

/* Orbit dot on ring */
.orbit-dot {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 8px 3px rgba(167, 139, 250, 0.5);
}

.orbit-ring:nth-child(2) .orbit-dot {
  background: #ffd54f;
  box-shadow: 0 0 8px 3px rgba(255, 213, 79, 0.5);
}

.orbit-ring:nth-child(3) .orbit-dot {
  display: none;
}

/* Floating skill chips */
.hero-chip {
  position: absolute;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(15, 10, 40, 0.85);
  border: 1px solid rgba(160, 130, 255, 0.3);
  font-size: 13px;
  font-weight: 500;
  color: #e2d9f3;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: chipFloat ease-in-out infinite;
  transition: transform 0.3s, border-color 0.3s;
}

.hero-chip i {
  font-size: 16px;
  display: inline-flex;
}

.hero-chip:hover {
  border-color: rgba(192, 132, 252, 0.8);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

@keyframes chipFloat {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

/* Profile mini card */
.hero-mini-card {
  position: absolute;
  bottom: 30px;
  right: 10px;
  background: rgba(12, 8, 35, 0.85);
  border: 1px solid rgba(160, 130, 255, 0.25);
  border-radius: 16px;
  padding: 14px 18px;
  backdrop-filter: blur(12px);
  z-index: 5;
  min-width: 160px;
}

.mini-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  margin-right: 6px;
  animation: pulse 2s infinite;
}

.mini-card-label {
  font-size: 11px;
  color: rgba(180, 160, 220, 0.7);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
}

.mini-card-val {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

/* Glow blob */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(160, 130, 255, 0.4);
  font-size: 12px;
  color: #c4b5fd;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  background: rgba(120, 80, 255, 0.1);
}

.badge span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a78bfa;
  margin-right: 8px;
  animation: pulse 2s infinite;
}

@keyframes pulse {

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

  50% {
    opacity: 0.5;
    transform: scale(1.4)
  }
}

.hero-hi {
  font-size: clamp(18px, 3vw, 24px);
  color: #a78bfa;
  font-weight: 300;
  margin-bottom: 6px;
}

.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 16px;
  min-height: 3.15em;
}

#heroTypewriter {
  background: linear-gradient(135deg, #fff 30%, #c4b5fd 70%, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.typewriter-cursor {
  display: inline-block;
  width: 4px;
  height: 0.82em;
  vertical-align: middle;
  margin-left: 6px;
  background: #c4b5fd;
  box-shadow: 0 0 12px #a855f7, 0 0 24px rgba(168, 85, 247, 0.8);
  border-radius: 2px;
  animation: cursorBlink 0.85s infinite;
}

@keyframes cursorBlink {

  0%,
  45% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-tag {
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(80, 50, 150, 0.25);
  border: 1px solid rgba(160, 130, 255, 0.25);
  font-size: 12px;
  color: #c4b5fd;
}

.hero-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(200, 200, 230, 0.7);
  max-width: 440px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
}

.btn-primary {
  padding: 12px 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(120, 60, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(120, 60, 255, 0.55);
}

.btn-outline {
  padding: 12px 28px;
  border-radius: 30px;
  background: transparent;
  color: #c4b5fd;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(160, 130, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: rgba(120, 80, 255, 0.1);
  transform: translateY(-2px);
}

/* ===== SECTION HEADER ===== */
.section-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a78bfa;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(40px, 5vw, 64px);
  background: linear-gradient(135deg, #fff, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 15px;
  color: rgba(200, 200, 230, 0.65);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ===== ABOUT SECTION ===== */
#about {
  padding-top: 80px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-photo-card {
  width: 300px;
  height: 380px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(168, 139, 250, 0.35);
  background: rgba(18, 12, 42, 0.6);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), 0 0 35px rgba(139, 92, 246, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  z-index: 2;
}

.about-photo-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.6), 0 0 45px rgba(168, 85, 247, 0.35);
}

.about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  transition: transform 0.6s ease;
}

.about-photo-card:hover .about-photo-img {
  transform: scale(1.05);
}

.photo-glow-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 26, 0) 40%, rgba(7, 9, 26, 0.4) 75%, rgba(7, 9, 26, 0.85) 100%);
  pointer-events: none;
}

.photo-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  padding: 8px 12px;
  background: rgba(12, 10, 32, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(168, 139, 250, 0.3);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  color: #f1f0fb;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.photo-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s infinite;
}

.photo-ring {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 330px;
  height: 410px;
  border-radius: 32px;
  border: 1px solid rgba(168, 139, 250, 0.22);
  pointer-events: none;
  animation: photoRingPulse 4s ease-in-out infinite alternate;
}

@keyframes photoRingPulse {
  0% {
    border-color: rgba(168, 139, 250, 0.15);
    transform: translateX(-50%) scale(0.99);
  }

  100% {
    border-color: rgba(168, 139, 250, 0.35);
    transform: translateX(-50%) scale(1.01);
  }
}

.about-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #fff;
  margin-bottom: 18px;
}

.about-text p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(200, 200, 230, 0.7);
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.stat-card {
  background: rgba(120, 60, 255, 0.08);
  border: 1px solid rgba(160, 130, 255, 0.2);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
}

.stat-card .num {
  font-size: 28px;
  font-weight: 700;
  color: #a78bfa;
}

.stat-card .lbl {
  font-size: 11px;
  color: rgba(180, 160, 220, 0.6);
  margin-top: 4px;
}

/* Highlights / Key Pillars */
.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 45px;
}

.about-highlight-card {
  background: rgba(18, 14, 45, 0.65);
  border: 1px solid rgba(160, 130, 255, 0.2);
  border-radius: 18px;
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.about-highlight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 139, 250, 0.45);
  box-shadow: 0 12px 35px rgba(120, 60, 255, 0.2);
  background: rgba(28, 20, 65, 0.7);
}

.hl-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  border-radius: 12px;
  background: rgba(120, 60, 255, 0.16);
  border: 1px solid rgba(168, 139, 250, 0.3);
  display: grid;
  place-items: center;
  align-content: center;
  justify-content: center;
  flex-shrink: 0;
  color: #c4b5fd;
  transition: all 0.3s ease;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.hl-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  margin: 0;
  padding: 0;
  stroke: #c4b5fd;
  flex-shrink: 0;
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.about-highlight-card:hover .hl-icon {
  background: rgba(139, 92, 246, 0.25);
  border-color: rgba(168, 139, 250, 0.55);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.35);
}

.about-highlight-card:hover .hl-icon svg {
  transform: scale(1.1);
  stroke: #fff;
}

.hl-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.hl-content p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(200, 200, 230, 0.65);
  margin: 0;
}

/* Certificate & Credentials Showcase */
.cert-showcase-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  background: radial-gradient(ellipse at top left, rgba(80, 40, 160, 0.25), rgba(12, 10, 32, 0.75));
  border: 1px solid rgba(168, 139, 250, 0.28);
  border-radius: 24px;
  padding: 34px 38px;
  margin-top: 36px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.4), inset 0 0 50px rgba(120, 60, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cert-showcase-card:hover {
  border-color: rgba(168, 139, 250, 0.45);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 92, 246, 0.2);
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(120, 60, 255, 0.15);
  border: 1px solid rgba(168, 139, 250, 0.3);
  font-size: 11px;
  font-weight: 500;
  color: #c4b5fd;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cert-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  margin-right: 8px;
  animation: pulse 2s infinite;
}

.cert-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #fff;
  margin-bottom: 10px;
}

.cert-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(200, 200, 230, 0.7);
  max-width: 520px;
  margin-bottom: 22px;
}

.cert-features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.cert-feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cert-feat-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  max-width: 42px;
  max-height: 42px;
  border-radius: 12px;
  background: rgba(120, 60, 255, 0.16);
  border: 1px solid rgba(168, 139, 250, 0.3);
  display: grid;
  place-items: center;
  align-content: center;
  justify-content: center;
  flex-shrink: 0;
  color: #c4b5fd;
  transition: all 0.3s ease;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.cert-feat-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  margin: 0;
  padding: 0;
  stroke: #c4b5fd;
  flex-shrink: 0;
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.cert-feat-item:hover .cert-feat-icon {
  background: rgba(139, 92, 246, 0.25);
  border-color: rgba(168, 139, 250, 0.55);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.35);
}

.cert-feat-item:hover .cert-feat-icon svg {
  transform: scale(1.1);
  stroke: #fff;
}

.cert-feat-item strong {
  display: block;
  font-size: 13px;
  color: #f1f0fb;
  font-weight: 600;
}

.cert-feat-item span {
  display: block;
  font-size: 11.5px;
  color: rgba(180, 160, 220, 0.65);
}

.cert-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cert-qr-box {
  position: relative;
  width: 165px;
  height: 165px;
  padding: 10px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 30px rgba(168, 139, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cert-showcase-card:hover .cert-qr-box {
  transform: scale(1.04);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), 0 0 45px rgba(168, 139, 250, 0.5);
}

.cert-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.qr-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #a855f7, #38bdf8, transparent);
  box-shadow: 0 0 12px 2px rgba(168, 85, 247, 0.8);
  animation: qrScan 3s ease-in-out infinite alternate;
  z-index: 5;
  pointer-events: none;
}

@keyframes qrScan {
  0% {
    top: 6px;
    opacity: 0.2;
  }

  15% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    top: calc(100% - 9px);
    opacity: 0.2;
  }
}

.qr-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #7c3aed;
  pointer-events: none;
  z-index: 4;
}

.qr-corner.top-left {
  top: 6px;
  left: 6px;
  border-top: 3px solid #7c3aed;
  border-left: 3px solid #7c3aed;
  border-top-left-radius: 4px;
}

.qr-corner.top-right {
  top: 6px;
  right: 6px;
  border-top: 3px solid #7c3aed;
  border-right: 3px solid #7c3aed;
  border-top-right-radius: 4px;
}

.qr-corner.bottom-left {
  bottom: 6px;
  left: 6px;
  border-bottom: 3px solid #7c3aed;
  border-left: 3px solid #7c3aed;
  border-bottom-left-radius: 4px;
}

.qr-corner.bottom-right {
  bottom: 6px;
  right: 6px;
  border-bottom: 3px solid #7c3aed;
  border-right: 3px solid #7c3aed;
  border-bottom-right-radius: 4px;
}

.cert-qr-hint {
  font-size: 11.5px;
  color: rgba(200, 185, 245, 0.8);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
}

/* ===== SKILLS / TECH STACK SECTION ===== */
#skills {
  padding-top: 80px;
  position: relative;
}

.skills-header {
  text-align: center;
}

.skills-header .section-desc {
  margin: 0 auto 36px;
}

/* Floating Tech Space Container */
.tech-space-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 50px;
}

.tech-space-canvas-wrap {
  position: relative;
  width: 100%;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(35, 22, 75, 0.45) 0%, rgba(7, 9, 26, 0.85) 75%);
  border: 1px solid rgba(160, 130, 255, 0.22);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.5), inset 0 0 70px rgba(120, 60, 255, 0.06);
  user-select: none;
  cursor: grab;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tech-space-canvas-wrap:active {
  cursor: grabbing;
}

.tech-space-badge-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.tech-space-overlay-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  transition: opacity 0.3s;
}

.tech-center-title {
  font-family: 'Dancing Script', cursive;
  font-size: 34px;
  color: rgba(225, 215, 255, 0.6);
  margin-bottom: 4px;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.tech-center-hint {
  font-size: 12px;
  color: rgba(190, 175, 245, 0.55);
  letter-spacing: 0.05em;
}

/* Tech Stack Floating Pill */
.tech-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  background: rgba(12, 16, 36, 0.88);
  border: 1px solid rgba(160, 130, 255, 0.28);
  border-radius: 999px;
  color: #f2f1fa;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: grab;
  will-change: transform;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s, opacity 0.35s, filter 0.35s;
  z-index: 2;
  touch-action: none;
  user-select: none;
}

.tech-pill:active {
  cursor: grabbing;
  z-index: 15 !important;
  transform-origin: center center;
}

.tech-pill:hover {
  z-index: 10;
  background: rgba(22, 28, 60, 0.95);
}

.tech-pill-icon {
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-pill-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-pill.dimmed {
  opacity: 0.12;
  filter: grayscale(0.9);
  pointer-events: none;
}

/* Filter Buttons */
.tech-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.tech-filter-btn {
  padding: 9px 20px;
  border-radius: 20px;
  background: rgba(25, 20, 55, 0.6);
  border: 1px solid rgba(160, 130, 255, 0.25);
  color: rgba(215, 205, 250, 0.85);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.tech-filter-btn:hover {
  background: rgba(120, 60, 255, 0.25);
  color: #fff;
  border-color: rgba(180, 150, 255, 0.5);
  transform: translateY(-2px);
}

.tech-filter-btn.active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.8), rgba(168, 85, 247, 0.8));
  color: #fff;
  border-color: #a855f7;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.45);
}

/* ===== SKILLS GRID & CARDS ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  align-items: stretch;
  margin-top: 40px;
}

.skill-card {
  background: rgba(120, 60, 255, 0.05);
  border: 1px solid rgba(160, 130, 255, 0.16);
  border-radius: 20px;
  padding: 30px 24px;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: center !important;
  height: 100%;
  min-height: 200px;
  backdrop-filter: blur(10px);
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.skill-card:hover {
  background: rgba(120, 60, 255, 0.12);
  border-color: rgba(160, 130, 255, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(120, 60, 255, 0.2);
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-icon {
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.skill-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 22px !important;
  color: #ffffff;
  margin: 0 0 12px 0 !important;
  font-weight: 700;
  line-height: 1.3;
}

.skill-card p {
  font-size: 14.5px !important;
  line-height: 1.6;
  color: rgba(225, 225, 250, 0.85) !important;
  margin: 0 !important;
}

/* ===== PROJECTS SECTION ===== */
#projects {
  padding-top: 80px;
}

.projects-intro {
  text-align: center;
  margin-bottom: 20px;
}

.projects-intro .section-desc {
  margin: 0 auto 16px;
}

.scroll-hint {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(160, 130, 255, 0.6);
  text-transform: uppercase;
  margin-bottom: 56px;
  text-align: center;
}

.projects-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-card {
  background: rgba(12, 10, 30, 0.7);
  border: 1px solid rgba(160, 130, 255, 0.18);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: all 0.4s;
  backdrop-filter: blur(10px);
  align-items: stretch;
}

.project-card:hover {
  border-color: rgba(160, 130, 255, 0.4);
  box-shadow: 0 20px 60px rgba(80, 40, 200, 0.2);
  transform: translateY(-4px);
}

.project-preview {
  background: linear-gradient(135deg, rgba(80, 40, 180, 0.2), rgba(40, 20, 100, 0.4));
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  border-right: 1px solid rgba(160, 130, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.project-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.project-info {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-info-content {
  display: flex;
  flex-direction: column;
}

.project-cat {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4b5fd;
  margin-bottom: 12px;
  font-weight: 600;
}

.project-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #ffffff;
  margin-bottom: 16px;
  font-weight: 700;
}

.project-info p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(225, 225, 245, 0.85);
  margin-bottom: 28px;
}

.project-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.project-tag {
  padding: 6px 14px;
  border-radius: 12px;
  background: rgba(120, 80, 255, 0.2);
  border: 1px solid rgba(160, 130, 255, 0.3);
  font-size: 13px;
  color: #ddd6fe;
  font-weight: 500;
}

.project-link {
  font-size: 15px;
  color: #a78bfa;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid rgba(167, 139, 250, 0.4);
  padding-bottom: 4px;
  width: fit-content;
  transition: all 0.3s;
}

.project-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* ===== WALL SECTION ===== */
#wall {
  padding-top: 80px;
}

.wall-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.wall-notes-area {
  position: relative;
  min-height: 460px;
}

.sticky {
  position: absolute;
  width: 200px;
  padding: 18px 16px;
  border-radius: 4px;
  font-size: 13px;
  box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.35);
  animation: stickyAppear 0.5s ease-out;
}

@keyframes stickyAppear {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
  }
}

.sticky-name {
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 6px;
  display: block;
}

.sticky-time {
  font-size: 10px;
  opacity: 0.6;
  float: right;
}

.sticky-text {
  font-size: 13px;
  opacity: 0.85;
  font-style: italic;
  display: block;
  margin-top: 6px;
}

.wall-form-box {
  background: rgba(12, 10, 30, 0.8);
  border: 1px solid rgba(160, 130, 255, 0.2);
  border-radius: 24px;
  padding: 36px;
  backdrop-filter: blur(12px);
}

.wall-form-box h3 {
  font-family: 'Dancing Script', cursive;
  font-size: 36px;
  color: #fff;
  margin-bottom: 8px;
}

.wall-form-box p {
  font-size: 13px;
  color: rgba(180, 160, 220, 0.65);
  margin-bottom: 28px;
}

.form-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(180, 160, 220, 0.7);
  display: block;
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(20, 15, 50, 0.6);
  border: 1px solid rgba(160, 130, 255, 0.2);
  border-radius: 12px;
  color: #e8e8f0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.3s;
  margin-bottom: 18px;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(180, 160, 220, 0.35);
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(160, 130, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(120, 80, 255, 0.08);
}

.form-textarea {
  height: 110px;
  resize: none;
}

.btn-post {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(120, 60, 255, 0.4);
}

.btn-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(120, 60, 255, 0.55);
}

/* ===== CONTACT SECTION ===== */
#contact {
  padding-top: 90px;
  padding-bottom: 90px;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.contact-header {
  max-width: 520px;
  margin: 0 auto 48px;
}

.contact-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.contact-card {
  background: rgba(120, 60, 255, 0.07);
  border: 1px solid rgba(160, 130, 255, 0.18);
  border-radius: 20px;
  padding: 24px 32px;
  text-decoration: none;
  color: #e8e8f0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  min-width: 180px;
  justify-content: center;
}

.contact-card:hover {
  border-color: rgba(160, 130, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(120, 60, 255, 0.2);
  color: #fff;
}

.contact-card .cc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c4b5fd;
  transition: transform 0.3s ease;
}

.contact-card:hover .cc-icon {
  transform: scale(1.15);
  color: #fff;
}

.footer-note {
  font-size: 12px;
  color: rgba(180, 160, 220, 0.4);
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(160, 130, 255, 0.1);
}

/* ===== ANIMATIONS & UTILS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #07091a;
}

::-webkit-scrollbar-thumb {
  background: rgba(120, 80, 255, 0.4);
  border-radius: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .project-card {
    grid-template-columns: 1fr;
  }

  .wall-layout {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   RESPONSIVE DESIGN FOR MOBILE & TABLET
   ========================================== */

/* Tablet & Mobile Screens (Max-width: 992px) */
@media (max-width: 992px) {

  /* Hero Section Adjustment */
  #home {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 100px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-tags,
  .hero-btns {
    justify-content: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-right {
    height: 380px;
  }

  .hero-moon-orb {
    width: 200px;
    height: 200px;
  }

  .orbit-ring:nth-child(1) {
    width: 260px;
    height: 260px;
  }

  .orbit-ring:nth-child(2) {
    width: 320px;
    height: 320px;
  }

  .orbit-ring:nth-child(3) {
    width: 380px;
    height: 380px;
  }

  /* About Grid */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-stats {
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }

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

  /* Certificate Showcase */
  .cert-showcase-card {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
    padding: 28px 20px;
  }

  .cert-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .cert-features {
    justify-content: center;
  }

  .cert-qr-wrap {
    margin-top: 10px;
  }
}

/* Mobile Screens (Max-width: 768px) */
@media (max-width: 768px) {
  section {
    padding: 70px 20px 50px;
  }

  /* Bottom Navigation Bar Adjustment */
  nav {
    width: 92%;
    padding: 8px 12px;
    justify-content: space-around;
    gap: 2px;
    bottom: 16px;
  }

  nav a {
    padding: 8px 10px;
    font-size: 0;
    /* Sembunyikan teks menu, tampilkan icon agar tidak berdesakan */
    border-radius: 50%;
  }

  nav a svg {
    width: 18px;
    height: 18px;
  }

  /* Interactive Tech Space Arena Mobile */
  .tech-space-canvas-wrap {
    height: 380px;
  }

  .tech-center-title {
    font-size: 26px;
  }

  .tech-center-hint {
    font-size: 11px;
  }

  .tech-pill {
    padding: 6px 12px;
    font-size: 11.5px;
  }

  /* Projects Mobile */
  .project-card {
    grid-template-columns: 1fr !important;
  }

  .project-preview {
    min-height: 200px;
    border-right: none !important;
    border-left: none !important;
    border-bottom: 1px solid rgba(160, 130, 255, 0.1);
  }

  .project-info {
    padding: 24px 20px;
  }

  .project-info h3 {
    font-size: 24px;
  }

  /* Wall / Guestbook Area */
  .wall-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .wall-notes-area {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* Ubah sticky notes absolute menjadi stack vertikal di HP */
  .sticky {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    transform: none !important;
  }

  .wall-form-box {
    padding: 24px 18px;
  }

  /* Contact Cards */
  .contact-card {
    width: 100%;
  }
}

/* Small Mobile Screens (Max-width: 480px) */
@media (max-width: 480px) {
  .hero-name {
    font-size: 38px;
  }

  .hero-chip {
    display: none;
    /* Sembunyikan melayang chip di HP sangat kecil agar tidak menutupi visual */
  }

  .hero-mini-card {
    bottom: 10px;
    right: 50%;
    transform: translateX(50%);
  }

  .about-photo-card {
    width: 250px;
    height: 320px;
  }

  .photo-ring {
    width: 270px;
    height: 340px;
  }

  .stat-card {
    padding: 14px 8px;
  }

  .stat-card .num {
    font-size: 22px;
  }
}