/* ===========================
   FONDO Y ESTILO GENERAL
=========================== */

.commissions-page {
  user-select: none;
  margin: 0;
  font-family: 'Caveat', sans-serif;
  background: linear-gradient(to bottom, #2C1740, #120A1A);
  color: #F4DFFF;
  min-height: 100vh;
  position: relative;
  cursor: url('../cursors/cursor.cur'), auto;
  overscroll-behavior-x: none;
  overscroll-behavior-y: none;
  overflow-x: hidden;
}

/* Background difuminado */
.commissions-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/background_superposicion.png') no-repeat center center;
  background-size: cover;
  filter: brightness(0);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}

/* ===========================
   CONTENEDOR PRINCIPAL
=========================== */

.commissions-wrapper {
  text-align: center;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 2rem;
  background: rgba(44, 23, 64, 0.55);
  border: 3px solid #C897FF;
  border-radius: 20px;
  box-shadow: 0 0 12px #C897FF;
  position: relative;
  z-index: 2;
  animation: wrapperZoom 9s ease-in-out infinite alternate;
}

@keyframes wrapperZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.01);
  }
}

/* ===========================
   TITULOS Y DESCRIPCIÓN
=========================== */

.commissions-title {
  font-size: 2.8rem;
  text-align: center;
  margin-top: 0rem;
  margin-bottom: 0.5rem;
  color: #F4DFFF;
  border-bottom: 3px solid #C897FF;
}

.commissions-desc {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 0rem;
  margin-top: 0.5rem;
}

/* ===========================
   GRID DE SECCIONES
=========================== */

.commission-sections {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

/* ===========================
   TARJETAS / CARDS
=========================== */

.commission-card {
  background: rgba(31, 16, 43, 0.75);
  border: 2.5px solid #C897FF;
  border-radius: 18px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 0 12px #C897FF;
  transition: 0.25s ease;
  animation: breathe 6s infinite ease-in-out alternate;
}

@keyframes breathe {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.008);
  }
}

.commission-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 18px #F24BD3;
  border-color: #F24BD3;
}

.commission-card h3 {
  font-size: 2rem;
  margin-top: 0rem;
  margin-bottom: 1rem;
  color: #FFD6FF;
}

.commission-card p {
  font-size: 1.5rem;
  margin: 0rem 0;
}

.commission-card strong {
  color: #F24BD3;
}

/* ===========================
   BOTÓN VOLVER
=========================== */

.back-home {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 2rem auto 1rem auto;
  padding: 0.6rem 1.4rem;
  font-size: 1.5rem;
  text-decoration: none;
  color: #F4DFFF;
  border: 2.5px solid #C897FF;
  border-radius: 12px;
  background: rgba(31, 16, 43, 0.6);
  box-shadow: 0 0 10px #C897FF;
  transition: 0.25s ease;
}

.back-home:hover {
  background-color: #D319A4;
  color: rgb(0, 0, 0);
  cursor: url('../cursors/cursorHover.cur'), pointer;
  border: 2.5px solid #F24BD3;
  box-shadow: 0 0 10px #F24BD3;
}

/* ===========================
   FOOTER
=========================== */

footer {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #D1B0F9;
}


/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 600px) {
  .commissions-title {
    font-size: 2.2rem;
  }

  .commissions-desc {
    font-size: 1.1rem;
  }

  .commission-card h3 {
    font-size: 1.7rem;
  }
}

.price-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 2.5px solid #C897FF;
  box-shadow: 0 0 10px #C897FF;
}

.price-img:hover {
  border-color: #F24BD3;
  box-shadow: 0 0 10px #F24BD3;
}

img {
  -webkit-user-drag: none;
}

a {
  -webkit-user-drag: none;
}

/* appear animation index */
.appear {
  opacity: 0;
  transform: scale(0.95);
  animation: appearZoom 0.65s ease-in-out forwards;
}

@keyframes appearZoom {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}