:root {
  --sky: #79cbea;
  --orange: #f3a629;
  --white: #fffdf8;
  --black: #111111;
  --blue-dark: #1e526b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #111;
  background: #fff;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

.navbar {
  position: fixed;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 24px;
  padding: 18px 6%;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(12px);
}

.logo {
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.logo .brand-name {
  color: #111;
  text-shadow: none;
}

.logo span {
  color: #e5b84b;
}

.logo b {
  color: #91d9f2;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 25px);
}

.nav-links a {
  color: #111;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ef9d20;
}

.nav-links a:focus-visible,
.band-link:focus-visible {
  outline: 2px solid #ef9d20;
  outline-offset: 4px;
}

.lang-toggle {
  border: 1px solid rgba(17, 17, 17, 0.5);
  background: rgba(255, 255, 255, 0.7);
  color: #111;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  transition: transform 0.2s ease, background 0.2s ease;
}

.lang-toggle:hover {
  background: #111;
  color: #fff;
  transform: translateY(-1px);
}

.inicio {
  min-height: 100vh;
  padding: 180px 12%;
  background: linear-gradient(135deg, #164b64, #236d89 55%, #102d40);
}

.inicio p:first-child,
.contacto > p {
  color: #111;
  font-size: 13px;
  letter-spacing: 2px;
}

.inicio .hero-copy > p:first-child {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.inicio .descripcion {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

h1,
h2 {
  margin: 25px 0;
  line-height: 0.9;
}

h1 {
  font-size: 130px;
}

h1 .sakro {
  color: white;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

h1 .plays {
  color: #e5b84b;
  text-shadow: 0 0 12px rgba(229, 184, 75, 0.7);
}

h1 .guitar {
  color: #91d9f2;
  text-shadow: 0 0 12px rgba(145, 217, 242, 0.8);
}

h2 {
  font-size: 70px;
}

h1 span,
h2 span {
  color: #ef9d20;
}

.descripcion {
  max-width: 350px;
  line-height: 1.6;
}

.boton {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 20px;
  color: white;
  background: #111;
  text-decoration: none;
}

.seccion {
  position: relative;
  min-height: 100vh;
  padding: 130px 12%;
}

.numero {
  color: #ef9d20;
  font-weight: bold;
}

.sobre-mi {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}

.sobre-mi p:not(.numero) {
  max-width: 380px;
  line-height: 1.6;
}

.foto {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 360px;
  border: 2px solid #111;
  background: #dff5fc;
  transform: rotate(4deg);
  overflow: hidden;
}

.foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.musica {
  color: white;
  background: #111;
}

.musica .numero {
  color: #ef9d20;
}

.enlace {
  display: block;
  max-width: 500px;
  padding: 20px 0;
  color: white;
  border-bottom: 1px solid #777;
  font-size: 25px;
  text-decoration: none;
}

.enlace:hover {
  color: #ef9d20;
}

.enlace b {
  float: right;
}

.galeria {
  background: #fff3d6;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
  margin-top: 18px;
  align-items: stretch;
}

.foto {
  display: block;
  overflow: hidden;
  border: 2px solid #111;
  background: #dff5fc;
  box-shadow: 0 20px 35px rgba(17, 17, 17, 0.08);
}

.foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.foto-grande {
  min-height: 420px;
  transform: rotate(-3deg);
  grid-row: span 2;
}

.foto-mediana {
  min-height: 200px;
  transform: rotate(4deg);
}

.foto-mini {
  grid-column: 1 / -1;
  width: 100%;
  height: 600px;
  max-height: 600px;
  aspect-ratio: auto;
  background: #f7f7f7;
  border: 2px solid #111;
  overflow: hidden;
  transform: rotate(-2deg);
  box-shadow: 0 20px 35px rgba(17, 17, 17, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.foto-mini img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.videos {
  background: #f4f4f4;
  color: #111;
}

section[id] {
  scroll-margin-top: 82px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.video-card {
  display: block;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: 0 18px 35px rgba(17, 17, 17, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: #ef9d20;
  box-shadow: 0 22px 40px rgba(17, 17, 17, 0.12);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.video-meta {
  padding: 18px 18px 20px;
}

.video-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  background: #ef9d20;
  color: #111;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: bold;
  text-transform: uppercase;
}

.video-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
  color: #111;
}

.video-card a {
  color: #111;
  text-decoration: none;
  font-weight: bold;
}

.video-card a:hover {
  color: #ef9d20;
}

.nectarina {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #1e526b, #102d40);
}

.nectarina .numero {
  color: #f3a629;
}

.nectarina-content {
  max-width: 720px;
}

.nectarina-label {
  margin: 0;
  color: #91d9f2;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 2px;
}

.nectarina h2 {
  margin: 18px 0;
  color: #fff;
}

.nectarina-content > p:not(.nectarina-label) {
  max-width: 600px;
  font-size: 18px;
  line-height: 1.7;
}

.band-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  margin-top: 18px;
  padding: 16px 20px;
  color: #111;
  background: #f3a629;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.band-link:hover {
  background: #fff;
  transform: translateY(-2px);
}

.contacto {
  min-height: 80vh;
  padding: 150px 12%;
  background: #ef9d20;
  color: #111;
}

.contacto > p,
.contacto h2,
.contacto h2 span,
.contacto a {
  color: #111;
}

.contacto a {
  font-size: 30px;
  text-decoration: none;
}

.contacto h2 {
  font-size: 70px;
  line-height: 0.95;
}

.contacto h2 span {
  color: #111;
}

@media (max-width: 700px) {
  .navbar {
    gap: 14px;
    padding: 16px 5%;
    flex-wrap: wrap;
  }

  .logo {
    font-size: 16px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 14px 18px;
    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 13px;
  }

  .lang-toggle {
    margin-left: auto;
    padding: 7px 10px;
  }

  .inicio {
    min-height: 100svh;
    padding: 150px 8% 80px;
  }

  .inicio p:first-child,
  .contacto > p {
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  h1 {
    margin: 22px 0;
    font-size: clamp(54px, 17vw, 75px);
    line-height: 0.95;
  }

  h2,
  .contacto h2 {
    font-size: clamp(42px, 13vw, 54px);
  }

  .descripcion {
    max-width: 100%;
    font-size: 15px;
  }

  .seccion {
    min-height: auto;
    padding: 90px 8%;
  }

  .sobre-mi {
    display: block;
  }

  .sobre-mi p:not(.numero) {
    max-width: none;
  }

  .foto {
    width: min(280px, 85vw);
    height: 360px;
    margin: 50px auto 20px;
  }

  .enlace {
    font-size: 21px;
  }

  .galeria {
    padding-bottom: 100px;
  }

  .foto-grande {
    width: min(280px, 85vw);
    margin: 0 auto;
  }

  .foto-pequena {
    width: min(190px, 60vw);
    height: 230px;
    margin: 35px auto 0;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }

  .video-card h3 {
    font-size: 24px;
  }

  .contacto {
    min-height: auto;
    padding: 100px 8%;
  }

  .contacto a {
    display: inline-block;
    max-width: 100%;
    font-size: clamp(20px, 6vw, 30px);
  }

  footer {
    padding: 0 8%;
  }
}

@media (max-width: 900px) {
  .navbar {
    padding: 18px 5%;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav-links {
    width: 100%;
    order: 3;
    justify-content: flex-start;
    gap: 18px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 4px 0 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    font-size: 12px;
  }

  .inicio {
    min-height: 100svh;
    padding: 140px 8% 90px;
  }

  .inicio p:first-child,
  .contacto > p {
    font-size: 11px;
    letter-spacing: 1.6px;
  }

  h1 {
    font-size: clamp(52px, 17vw, 88px);
    line-height: 0.9;
  }

  h2,
  .contacto h2 {
    font-size: clamp(38px, 12vw, 60px);
    line-height: 0.95;
  }

  .descripcion {
    max-width: 100%;
    font-size: 15px;
  }

  .seccion {
    min-height: auto;
    padding: 90px 8%;
  }

  .sobre-mi {
    display: block;
  }

  .sobre-mi > div:first-child {
    margin-bottom: 30px;
  }

  .sobre-mi p:not(.numero) {
    max-width: none;
  }

  .foto {
    width: min(320px, 86vw);
    height: 380px;
    margin: 0 auto;
  }

  .musica .enlace {
    font-size: 22px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .foto-grande,
  .foto-mediana,
  .foto-mini {
    width: 100%;
    min-height: 240px;
    height: auto;
    max-height: none;
    margin: 0;
    transform: none;
  }

  .foto-grande {
    grid-row: auto;
  }

  .foto-mini {
    height: 260px;
  }

  .videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .nectarina-content > p:not(.nectarina-label) {
    font-size: 16px;
  }

  .video-card h3 {
    font-size: 24px;
  }

  .contacto {
    min-height: auto;
    padding: 100px 8%;
  }

  .contacto a {
    font-size: clamp(19px, 4.5vw, 27px);
    overflow-wrap: anywhere;
  }

  section[id] {
    scroll-margin-top: 112px;
  }
}

@media (max-width: 560px) {
  .navbar {
    padding: 14px 5%;
  }

  .logo {
    font-size: 16px;
    line-height: 1.2;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 18px;
    flex-wrap: nowrap;
  }

  .lang-toggle {
    padding: 7px 10px;
    font-size: 11px;
  }

  .inicio {
    min-height: max(100svh, 620px);
    align-items: center;
    padding: 150px 7% 70px;
  }

  .hero-copy {
    width: 100%;
    max-width: 540px;
  }

  .inicio h1 {
    margin: 20px 0;
    font-size: clamp(42px, 13vw, 64px);
    line-height: 0.98;
    letter-spacing: -1.8px;
  }

  .inicio .descripcion {
    max-width: 360px;
    font-size: 15px;
  }

  .boton {
    width: 100%;
    text-align: center;
  }

  .musica .enlace {
    font-size: 18px;
  }

  .foto {
    width: min(280px, 90vw);
    height: 340px;
  }

  .foto-mini {
    height: 230px;
  }

  .videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .video-meta {
    padding: 14px 12px 16px;
  }

  .video-card h3 {
    font-size: clamp(16px, 4.7vw, 20px);
    line-height: 1.1;
  }

  .video-card a {
    font-size: 12px;
  }

  .contacto {
    padding: 78px 7%;
  }

  .contacto h2 {
    font-size: clamp(25px, 7.5vw, 38px);
    line-height: 1.05;
  }

  .contacto a {
    font-size: clamp(18px, 5.5vw, 24px);
    overflow-wrap: anywhere;
  }

  .seccion {
    padding: 72px 7%;
  }

  .foto {
    max-width: 100%;
  }

  .pet-caption {
    width: min(280px, calc(100vw - 28px));
  }
}

  .inicio {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .hero-memory-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% 58%;
    opacity: 0.84;
    filter: saturate(0.86) contrast(1.04);
    pointer-events: none;
  }

  .inicio::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(90deg, rgba(13, 45, 62, 0.96) 0%, rgba(16, 54, 72, 0.84) 37%, rgba(16, 54, 72, 0.24) 100%),
      linear-gradient(0deg, rgba(13, 37, 53, 0.68) 0%, transparent 48%, rgba(13, 37, 53, 0.16) 100%);
    content: "";
    pointer-events: none;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    width: min(68%, 850px);
  }

  .inicio .hero-copy > p:first-child {
    color: #fff;
  }

  .inicio h1 {
    font-size: clamp(72px, 8.6vw, 118px);
  }

  .pet-egg {
    position: absolute;
    z-index: 2;
    display: block;
    width: var(--pet-size, 142px);
    height: var(--pet-size, 142px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.2));
    cursor: pointer;
    touch-action: none;
    user-select: none;
    -webkit-user-drag: none;
    transition: filter 0.2s ease;
  }

  .pet-egg:hover,
  .pet-egg:focus-visible {
    filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.3)) brightness(1.06);
  }

  .pet-egg:focus-visible {
    outline: 2px solid #ef9d20;
    outline-offset: 3px;
  }

  .pet-egg.is-dragging {
    z-index: 1001;
    cursor: grabbing;
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.35));
    transition: none;
  }

  .pet-egg.is-free {
    position: absolute !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 1000;
    margin: 0 !important;
  }

  @media (max-width: 900px) {
    main > section {
      border-bottom: 2px solid rgba(17, 17, 17, 0.2);
    }

    .inicio {
      border-bottom-color: rgba(255, 255, 255, 0.3);
    }

    .pet-egg {
      position: absolute;
      inset: auto;
      display: block;
      margin: 0;
    }

    main > .sobre-mi,
    main > .musica,
    main > .nectarina {
      padding-bottom: 190px;
    }

    .pet-egg--coco {
      right: 4%;
      bottom: 12px;
      width: 150px;
      height: 130px;
    }

    .pet-egg--luna {
      right: 4%;
      bottom: 12px;
      width: 112px;
      height: 128px;
    }

    .pet-egg--tom {
      left: 4%;
      bottom: 12px;
      width: 120px;
      height: 120px;
    }

    .pet-egg--rocky {
      right: 4%;
      bottom: 12px;
      width: 124px;
      height: 124px;
    }

    footer {
      border-top: 2px solid rgba(17, 17, 17, 0.35);
    }
  }

  .pet-egg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
    -webkit-user-drag: none;
  }

  .pet-caption {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 14px);
    z-index: 3;
    width: min(290px, calc(100vw - 36px));
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(12, 27, 36, 0.94);
    color: #fff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
    text-align: left;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .pet-egg:hover .pet-caption,
  .pet-egg:focus-visible .pet-caption,
  .pet-egg.is-open .pet-caption {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
  }

  .pet-egg.is-dragging .pet-caption {
    visibility: hidden;
    opacity: 0;
  }

  .pet-egg--coco {
    right: 5%;
    bottom: 14px;
    width: var(--pet-size, 190px);
    height: var(--pet-size, 165px);
  }

  .pet-egg--coco img {
    transform: scale(1.3);
  }

  .pet-egg--luna {
    right: 7%;
    bottom: 14px;
    width: var(--pet-size, 130px);
    height: var(--pet-size, 150px);
  }

  .pet-egg--luna img {
    transform: scale(1.12);
  }

  .pet-egg--tom {
    left: 5%;
    bottom: 14px;
    width: var(--pet-size, 150px);
    height: var(--pet-size, 150px);
  }

  .pet-egg--tom img {
    transform: scale(1.55) translateX(-13%);
  }

  .pet-egg--rocky {
    right: 7%;
    bottom: 14px;
    width: var(--pet-size, 150px);
    height: var(--pet-size, 150px);
  }

  .pet-egg--rocky img {
    transform: scale(2.1);
  }

  .contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: min(100%, 760px);
    margin-top: 42px;
  }

  .form-honeypot {
    display: none;
  }

  .form-field {
    display: grid;
    gap: 8px;
  }

  .form-field:last-of-type {
    grid-column: 1 / -1;
  }

  .form-field label {
    font-size: 14px;
    font-weight: 700;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(17, 17, 17, 0.5);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.88);
    color: #111;
    font: inherit;
  }

  .form-field textarea {
    min-height: 140px;
    resize: vertical;
  }

  .form-field input:focus-visible,
  .form-field select:focus-visible,
  .form-field textarea:focus-visible {
    outline: 3px solid #1e526b;
    outline-offset: 2px;
  }

  .form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    justify-self: start;
    min-height: 50px;
    padding: 14px 20px;
    border: 0;
    background: #111;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .form-submit:hover {
    background: #1e526b;
    transform: translateY(-2px);
  }

  @media (max-width: 900px) {
    .hero-memory-photo {
      object-position: 75% 67%;
      transform: scale(1.18);
    }

    .hero-copy {
      width: 70%;
    }

    .inicio .descripcion {
      max-width: 390px;
    }

    .inicio h1 {
      font-size: clamp(50px, 9vw, 82px);
    }

  }

  @media (max-width: 560px) {
    .inicio {
      min-height: max(100svh, 620px);
      align-items: center;
      padding: 150px 7% 70px;
    }

    .hero-copy {
      width: 100%;
      max-width: 540px;
    }

    .inicio h1 {
      margin: 20px 0;
      font-size: clamp(42px, 13vw, 64px);
      line-height: 0.98;
      letter-spacing: -1.8px;
    }

    .hero-memory-photo {
      object-position: 78% 64%;
      opacity: 0.7;
    }

    .inicio::before {
      background:
        linear-gradient(90deg, rgba(13, 45, 62, 0.9) 0%, rgba(16, 54, 72, 0.7) 53%, rgba(16, 54, 72, 0.32) 100%),
        linear-gradient(0deg, rgba(13, 37, 53, 0.58) 0%, transparent 55%);
    }

    .inicio .descripcion {
      max-width: min(100%, 360px);
      font-size: 15px;
      color: #fff;
    }

    .pet-caption {
      width: min(280px, calc(100vw - 28px));
    }

    .videos-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .video-meta {
      padding: 14px 12px 16px;
    }

    .video-card h3 {
      font-size: clamp(16px, 4.7vw, 20px);
      line-height: 1.1;
    }

    .video-card a {
      font-size: 12px;
    }

    .contacto {
      padding: 78px 7%;
    }

    .contacto h2 {
      font-size: clamp(25px, 7.5vw, 38px);
      line-height: 1.05;
    }

    .contacto a {
      font-size: clamp(18px, 5.5vw, 24px);
      overflow-wrap: anywhere;
    }

    .seccion {
      padding: 72px 7%;
    }

    .foto {
      max-width: 100%;
    }

    .contact-form {
      grid-template-columns: 1fr;
      gap: 17px;
    }

    .form-field:last-of-type {
      grid-column: auto;
    }

    .form-submit {
      width: 100%;
      justify-self: stretch;
    }
  }

  @media (min-width: 1600px) {
    .inicio {
      padding-right: max(12%, calc((100vw - 1400px) / 2));
      padding-left: max(12%, calc((100vw - 1400px) / 2));
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .pet-egg,
    .pet-caption,
    .form-submit {
      transition: none;
    }
  }

  .pet-sparkle {
    position: fixed;
    z-index: 1100;
    color: #f3a629;
    font-size: 22px;
    line-height: 1;
    pointer-events: none;
    animation: pet-sparkle-burst 800ms cubic-bezier(0.16, 0.74, 0.25, 1) both;
  }

  .pet-sparkle:nth-child(even) {
    color: #91d9f2;
  }

  @keyframes pet-sparkle-burst {
    from {
      opacity: 1;
      transform: translate(-50%, -50%) scale(0.4) rotate(-20deg);
    }
    to {
      opacity: 0;
      transform: translate(calc(-50% + var(--sparkle-x)), calc(-50% + var(--sparkle-y))) scale(1.2) rotate(25deg);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .pet-sparkle {
      animation: none;
      opacity: 0;
    }
  }