@keyframes hero-gradient-animation {
  0% {
    --y-0: 90%;
    --c-0: #3e0070;
    --x-0: 91%;
    --s-start-0: 1%;
    --s-end-0: 61%;
    --x-1: 17%;
    --y-1: 24%;
    --s-start-1: 0%;
    --s-end-1: 55%;
    --c-1: #45007d;
    --y-2: 32%;
    --c-2: #4a174b;
    --x-2: 11%;
    --s-start-2: 19%;
    --s-end-2: 54%;
    --x-3: 2%;
    --c-3: #3e006c;
    --y-3: 31%;
    --s-start-3: 0%;
    --s-end-3: 67%;
    --y-4: 93%;
    --x-4: 74%;
    --s-start-4: 12%;
    --s-end-4: 82%;
    --c-4: #45007d;
  }

  100% {
    --y-0: 25%;
    --c-0: #3e0070;
    --x-0: 49%;
    --s-start-0: 19%;
    --s-end-0: 69%;
    --x-1: 1%;
    --y-1: 41%;
    --s-start-1: 3%;
    --s-end-1: 77%;
    --c-1: #4a174b;
    --y-2: 93%;
    --c-2: #45007d;
    --x-2: 44%;
    --s-start-2: 6%;
    --s-end-2: 73%;
    --x-3: 97%;
    --c-3: #3b0063;
    --y-3: 51%;
    --s-start-3: 8%;
    --s-end-3: 86%;
    --y-4: 69%;
    --x-4: 10%;
    --s-start-4: 20%;
    --s-end-4: 75%;
    --c-4: #45007d;
  }
}

@property --y-0 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 90%;
}

@property --c-0 {
  syntax: '<color>';
  inherits: false;
  initial-value: #3e0070;
}

@property --x-0 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 91%;
}

@property --s-start-0 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 1%;
}

@property --s-end-0 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 61%;
}

@property --x-1 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 17%;
}

@property --y-1 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 24%;
}

@property --s-start-1 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

@property --s-end-1 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 55%;
}

@property --c-1 {
  syntax: '<color>';
  inherits: false;
  initial-value: #45007d;
}

@property --y-2 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 32%;
}

@property --c-2 {
  syntax: '<color>';
  inherits: false;
  initial-value: #4a174b;
}

@property --x-2 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 11%;
}

@property --s-start-2 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 19%;
}

@property --s-end-2 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 54%;
}

@property --x-3 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 2%;
}

@property --c-3 {
  syntax: '<color>';
  inherits: false;
  initial-value: #3e006c;
}

@property --y-3 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 31%;
}

@property --s-start-3 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

@property --s-end-3 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 67%;
}

@property --y-4 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 93%;
}

@property --x-4 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 74%;
}

@property --s-start-4 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 12%;
}

@property --s-end-4 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 82%;
}

@property --c-4 {
  syntax: '<color>';
  inherits: false;
  initial-value: #45007d;
}

/* HERO */
.hero{
  height: 100vh;
  min-height: 650px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;

  /* ’'o. SNAP SOLO AQUÇÎ? */
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.hero__trail {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero__trail-dot {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.2) 60%);
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.8));
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
  mix-blend-mode: screen;
  opacity: 0;
}

.info__smoke {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.info__smoke-puff {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 20% 30%, rgba(213,161,255,0.18), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(143,100,177,0.14), transparent 60%),
    radial-gradient(circle at 40% 80%, rgba(122,96,144,0.12), transparent 62%);
  filter: blur(60px);
  opacity: 0.35;
  mix-blend-mode: screen;
  transform: translate3d(0,0,0) scale(1.1);
}

.info__smoke-puff.s1{
  animation: drift1 18s ease-in-out infinite;
  opacity: 0.30;
}

.info__smoke-puff.s2{
  animation: drift2 26s ease-in-out infinite;
  opacity: 0.22;
  filter: blur(80px);
}

.info__smoke-puff.s3{
  animation: drift3 34s ease-in-out infinite;
  opacity: 0.18;
  filter: blur(95px);
}

@keyframes drift1{
  0%   {transform: translate(-3%, -2%) scale(1.12) rotate(0deg);}
  50%  {transform: translate(3%,  2%) scale(1.18) rotate(8deg);}
  100% {transform: translate(-3%, -2%) scale(1.12) rotate(0deg);}
}

@keyframes drift2{
  0%   {transform: translate(2%,  3%) scale(1.08) rotate(0deg);}
  50%  {transform: translate(-4%, -1%) scale(1.15) rotate(-10deg);}
  100% {transform: translate(2%,  3%) scale(1.08) rotate(0deg);}
}

@keyframes drift3{
  0%   {transform: translate(-2%, 2%) scale(1.05) rotate(0deg);}
  50%  {transform: translate(4%, -3%) scale(1.12) rotate(12deg);}
  100% {transform: translate(-2%, 2%) scale(1.05) rotate(0deg);}
}

.info .container{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: min(820px, 100%);
  margin: 0 auto;
  padding-left: clamp(32px, 5vw, 72px);
  margin-right: auto;
  transform: translateX(-5cm);
  padding-top: 2.5cm;
  position: relative;
  z-index: 1;
}

.hero__big{
  position: relative;
  z-index: 2;
  font-family: "Anton", sans-serif;
  letter-spacing: .06em;
  font-size: clamp(92px, 12vw, 160px);
  color: #ffffff;
  line-height: 1;
  text-transform: uppercase;
  user-select: none;
  white-space: nowrap;
  transform: translateY(-6px);
}

/* SECCI?"N 2: INFO */
.info{
  padding: 70px 0 70px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;

  /* ?'o. SNAP SOLO AQU??? */
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.info__title{
  font-size: clamp(48px, 5.5vw, 80px);
  line-height: 1;
}

.info__subtitle{
  margin-top: 12px;
  font-size: clamp(30px, 4vw, 60px);
  line-height: 1.1;
}
/* SECCIÇ"N 3: AVATAR (SCROLL NORMAL) */
body,
.avatar-section{
  position: relative;
  background: transparent;
  padding: 0;
  overflow: visible;
  min-height: 100vh;

  /* ÐYs® NO SNAP */
  scroll-snap-align: start;
}

.avatar-wrap{
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  padding-bottom: 18px;
  margin-top: 0;
  transform: translateY(-1.75cm);
}

.skills-bar{
  background: var(--bar);
  height: 46px;
  display: grid;
  place-items: center;
  font-family: "Anton", sans-serif;
  color: var(--ink);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 26px;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.2);
  transform: translateY(-2.75cm);
  position: relative;
  z-index: 2;
}

/* SKILLS GRID SECTION (SCROLL NORMAL) */
.skills{
  background: transparent;
  padding: 22px 0 26px;

  /* ?Ys? NO SNAP */
  scroll-snap-align: none;
  transform: translateY(-3.875cm);
}

/* PROJECTS (SCROLL NORMAL) */
.projects{
  background: transparent;
  padding: 8px 0 70px;

  /* DYs¶¸ NO SNAP */
  scroll-snap-align: none;
}
.projects__title{
  margin: -8px 0 30px;
  text-align: center;
  font-family: "Anton", sans-serif;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: clamp(32px, 3vw, 40px);
  transform: translateY(-3cm);
}


/* Force transparent surfaces so the particle background stays visible */
.hero,
.info,
.avatar-section,
.skills,
.projects{
  background: transparent !important;
  background-image: none !important;
  animation: none !important;
  box-shadow: none !important;
}

@media (max-width: 1100px){
  .container{ width: min(var(--container), calc(100% - 32px)); }
}

@media (max-width: 900px){
  html{ scroll-snap-type: none; }
  .hero,
  .info,
  .avatar-section,
  .skills,
  .projects{
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
  .hero{
    height: auto;
    min-height: 520px;
    padding: 40px 0;
  }
  .hero__big{
    font-size: clamp(56px, 16vw, 92px);
    white-space: normal;
    text-align: center;
    padding: 0 16px;
    line-height: .95;
  }
  .info{
    padding: 40px 0 50px;
  }
  .info .container{
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 24px 20px 0;
    transform: none;
    align-items: center;
    text-align: center;
  }
  .info__title{ font-size: clamp(34px, 9vw, 54px); }
  .info__subtitle{ font-size: clamp(20px, 6vw, 34px); }
  .avatar-wrap{ transform: none; }
  .skills-bar{
    transform: none;
    height: 38px;
    font-size: 20px;
  }
  .skills{
    transform: none;
    padding: 18px 0 24px;
  }
  .projects{
    padding: 24px 0 60px;
  }
  .projects__title{
    transform: none;
    margin: 8px 0 18px;
  }
}
