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

body {
  font-family: 'Syne', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

.section-wrapper {
  padding-inline: clamp(1.1rem, 4vw, 1.75rem);
}

@media (min-width: 640px) {
  .section-wrapper {
    padding-inline: 2rem;
  }
}

.heading-balance {
  text-wrap: balance;
  word-break: break-word;
  line-height: 1.1;
}

.heading-section {
  font-size: clamp(1.55rem, 4.8vw, 2.5rem);
  line-height: 1.12;
}

.heading-category {
  font-size: clamp(1.1rem, 3.8vw, 1.55rem);
  line-height: 1.15;
}

.heading-hero {
  line-height: 1.05;
}

.card-title-balance {
  text-wrap: balance;
  word-break: break-word;
  line-height: 1.2;
}

.font-mono {
  font-family: 'Space Mono', monospace;
}

.premium-bg {
  background: radial-gradient(ellipse at 20% 10%, #0b1024 0%, #05060f 35%, #000 100%);
  position: relative;
  overflow: hidden;
}

.premium-bg > * {
  position: relative;
  z-index: 2;
}

.premium-bg::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 30%, rgba(100, 150, 255, 0.18), transparent 30%),
    radial-gradient(circle at 70% 40%, rgba(167, 139, 250, 0.16), transparent 30%),
    radial-gradient(circle at 35% 80%, rgba(56, 189, 248, 0.12), transparent 28%);
  filter: blur(32px);
  opacity: 0.9;
  mix-blend-mode: screen;
  animation: auroraDrift 26s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.premium-bg::after {
  content: '';
  position: absolute;
  inset: -10%;
  background: conic-gradient(
      from 120deg,
      rgba(100, 150, 255, 0.22),
      rgba(167, 139, 250, 0.2),
      rgba(56, 189, 248, 0.18),
      rgba(100, 150, 255, 0.22)
    ),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.06), transparent 30%);
  filter: blur(80px) saturate(140%);
  opacity: 0.35;
  animation: auroraRotate 38s linear infinite;
  mix-blend-mode: screen;
  z-index: 1;
  pointer-events: none;
}

.mesh-gradient {
  background:
    radial-gradient(at 27% 37%, hsla(215, 98%, 61%, 0.05) 0px, transparent 50%),
    radial-gradient(at 97% 21%, hsla(262, 73%, 56%, 0.05) 0px, transparent 50%),
    radial-gradient(at 52% 99%, hsla(204, 98%, 61%, 0.05) 0px, transparent 50%);
  background-size: 180% 180%;
  animation: meshMove 24s ease-in-out infinite;
}

@keyframes meshMove {
  0%,
  100% {
    background-position: 0% 0%;
  }

  50% {
    background-position: 100% 100%;
  }
}

@keyframes auroraDrift {
  0% {
    transform: translate3d(-6%, -4%, 0) scale(1);
  }

  50% {
    transform: translate3d(6%, 4%, 0) scale(1.08);
  }

  100% {
    transform: translate3d(-6%, -4%, 0) scale(1);
  }
}

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

  to {
    transform: rotate(360deg);
  }
}

.glass-luxury {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.glass-luxury-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-luxury-hover:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(100, 150, 255, 0.3);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(100, 150, 255, 0.15), 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-luxury-hover:not(:hover) {
  transition: all 0.05s ease-out;
}

.text-luxury {
  background: linear-gradient(135deg, #6496ff 0%, #a78bfa 50%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-elegant {
  text-shadow: 0 0 20px rgba(100, 150, 255, 0.3), 0 0 40px rgba(100, 150, 255, 0.2), 0 0 60px rgba(100, 150, 255, 0.1);
}

.border-luxury {
  position: relative;
  border: 1px solid transparent;
  background: linear-gradient(#000, #000) padding-box, linear-gradient(135deg, rgba(100, 150, 255, 0.3), rgba(167, 139, 250, 0.3)) border-box;
}

.border-luxury::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #6496ff, #a78bfa, #c4b5fd);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
  filter: blur(10px);
}

.border-luxury:hover::before {
  opacity: 0.3;
  animation: borderPulse 3s ease-in-out infinite;
}

@keyframes borderPulse {
  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.5;
  }
}

.particles-luxury {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.particle-lux {
  position: absolute;
  width: 2px;
  height: 2px;
  background: radial-gradient(circle, rgba(100, 150, 255, 0.8) 0%, transparent 70%);
  border-radius: 50%;
  animation: particleFloat 30s infinite ease-in-out;
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  50% {
    transform: translate(50px, -100px) scale(1.5);
    opacity: 0.8;
  }

  90% {
    opacity: 0.6;
  }
}

.grid-luxury {
  background-image: linear-gradient(rgba(100, 150, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(100, 150, 255, 0.03) 1px, transparent 1px);
  background-size: 70px 70px;
  animation: gridDrift 16s linear infinite;
}

@keyframes gridDrift {
  0% {
    background-position: 0 0, 0 0;
  }

  50% {
    background-position: 30px 30px, 30px 30px;
  }

  100% {
    background-position: 0 0, 0 0;
  }
}

.float-elegant {
  animation: floatElegant 6s ease-in-out infinite;
}

@keyframes floatElegant {
  0%,
  100% {
    transform: translateY(0);
  }

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

.card-depth {
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-depth:hover {
  transform: translateZ(20px) rotateX(2deg) rotateY(2deg);
}

.card-depth:not(:hover) {
  transition: transform 0.05s ease-out;
}

.pulse-luxury {
  position: relative;
}

.pulse-luxury::before,
.pulse-luxury::after {
  content: '';
  position: absolute;
  inset: -15px;
  border: 2px solid rgba(100, 150, 255, 0.3);
  border-radius: inherit;
}

.pulse-luxury::before {
  animation: pulseLux1 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pulse-luxury::after {
  animation: pulseLux2 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  animation-delay: 1.5s;
}

@keyframes pulseLux1 {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

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

@keyframes pulseLux2 {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

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

.profile-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(100, 150, 255, 0.3);
  box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.3), 0 0 40px rgba(100, 150, 255, 0.4), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.btn-luxury {
  position: relative;
  background: linear-gradient(135deg, #6496ff 0%, #8b7bef 100%);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(100, 150, 255, 0.3), 0 10px 40px rgba(100, 150, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-luxury::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  transition: all 0.6s;
}

.btn-luxury:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(100, 150, 255, 0.4), 0 15px 50px rgba(100, 150, 255, 0.25);
}

.btn-luxury:hover::before {
  left: 150%;
}

.btn-luxury:not(:hover) {
  transition: all 0.05s ease-out;
}

.skill-luxury {
  background: rgba(100, 150, 255, 0.05);
  border: 1px solid rgba(100, 150, 255, 0.15);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-luxury:hover {
  background: rgba(100, 150, 255, 0.12);
  border-color: rgba(100, 150, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(100, 150, 255, 0.25);
}

.skill-luxury:not(:hover) {
  transition: all 0.05s ease-out;
}

.timeline-dot-lux {
  position: relative;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #6496ff, #a78bfa);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.3), 0 0 0 6px rgba(100, 150, 255, 0.2), 0 0 20px rgba(100, 150, 255, 0.4);
}

.timeline-dot-lux::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(100, 150, 255, 0.3);
  border-radius: 50%;
  animation: dotRipple 2s ease-out infinite;
}

@keyframes dotRipple {
  0% {
    transform: scale(1);
    opacity: 1;
  }

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

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

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6496ff, #a78bfa);
  border-radius: 5px;
  border: 2px solid #000;
}

.loading-luxury {
  position: relative;
  height: 2px;
  background: rgba(100, 150, 255, 0.1);
  overflow: hidden;
}

.loading-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #6496ff, #a78bfa, transparent);
  animation: loadingLux 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes loadingLux {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.fade-in-lux {
  animation: fadeInLux 1s ease-out;
}

@keyframes fadeInLux {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.divider-lux {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(100, 150, 255, 0.3), rgba(167, 139, 250, 0.3), transparent);
}

.nav-safe {
  padding-top: env(safe-area-inset-top, 0);
}

.nav-shell {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  transform: translateZ(0);
  overflow: hidden;
}

.nav-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(100, 150, 255, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(8, 10, 18, 0.6), rgba(8, 10, 18, 0.5));
  pointer-events: none;
}

.nav-shell > * {
  position: relative;
  z-index: 1;
}

.nav-shell .loading-luxury {
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.nav-blur {
  background-color: transparent;
}

.hero-padding {
  padding-top: 120px;
  padding-bottom: 80px;
}

a:hover {
  text-decoration: none;
}

.title-reveal {
  opacity: 0;
  animation: titleReveal 1.2s ease-out forwards;
}

@keyframes titleReveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.subtitle-reveal {
  opacity: 0;
  animation: subtitleReveal 1.2s ease-out 0.3s forwards;
}

@keyframes subtitleReveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (max-width: 768px) {
  .hero-padding {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .profile-photo {
    width: 160px;
    height: 160px;
  }

  .heading-hero {
    font-size: clamp(2.4rem, 9vw, 3.2rem);
  }

  .heading-balance {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }

  .card-title-balance {
    font-size: clamp(1.25rem, 5vw, 1.6rem);
  }

  .heading-section {
    font-size: 2.5rem;
  }

  .heading-category {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .heading-section {
    font-size: 2.5rem;
  }

  .heading-category {
    font-size: 1.25rem;
  }
}

@media (max-width: 360px) {
  .heading-section {
    font-size: 2.5rem;
  }

  .heading-category {
    font-size: 1.25rem;
  }
}
