/* BACKGROUND COLOR */
body{
  background-image: url(https://i.ibb.co/N2Pr0KZN/Background-Black-GFX.gif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Ubuntu', sans-serif;
  color: #2693FF;
}
/* HEADER */
header {
    margin-top: 4rem;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-self: center;
    padding: 20px;
    background: #fa75e6;
    background: linear-gradient(318deg, rgba(117, 184, 250, 1) 0%, rgb(140, 100, 185) 34%, rgba(117, 184, 250, 1) 100%);
    background: linear-gradient(318deg, rgba(117, 184, 250, 1) 0%, rgb(140, 100, 185) 34%, rgba(117, 184, 250, 1) 100%);
    border-radius: 50px;
    color: white;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}
header:hover {
    background: #fa75e6;
    background: linear-gradient(103deg, rgba(163, 163, 163, 1) 0%, rgba(117, 184, 250, 1) 34%, rgba(163, 163, 163, 1) 100%);
    transition: all 0.3s ease;
    cursor: pointer;
    color: rgba(24, 24, 24, 0.679);
}

header p {
    font-size: 30px;
    margin: 0;
    padding: 0 10px;
    text-shadow: 5px 8px 7px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 15px;
}
.avatar:hover {
    transform: scale(1.6);
    transition: all 0.3s ease;
}

/* GALERIA */
.galeria { padding: 2rem; text-align: center; }
.contenedor-gifs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.gif-item img {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gif-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}
/* ZOOM */
.modal-img {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.modal-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
/* TAMAÑO */
.modal-img-content {
  max-width: 50vw;
  max-height: 50vh;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.modal-caption {
  font-size: 1rem;
  font-weight: bold;
  color: #4e8ef7;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
  text-align: center;
  padding: 0 1rem;
}
/* PSTYLE */
.gif-highlight-section {
  margin-top: 3rem; /* Aumentamos para que iguale la separación vertical previa */
  text-align: center;
}

.pcback-title {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(to right, #ffd700, #f7c362);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  margin-bottom: 1.5rem;
}

/* Nuevo contenedor para imitar .contenedor-gifs */
.gif-highlight-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 1.5rem;
}

.gif-highlight-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Glow blanco permanente + hover con más intensidad */
.gif-highlight-img {
  width: 260px;
  height: 90px;
  border-radius: 6px;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3));
  transition: transform 0.3s ease;
}

.gif-highlight-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4); /* GRAD GLOW */
}

/* MAS MODELOS */
.gif-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#moreBoys {
  background-image: linear-gradient(to right, #3688ff 0%, #743dc0 51%, #3688ff 100%);
  margin: 10px;
  padding: 15px 45px;
  text-align: center;
  justify-self: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
  display: block;
  cursor: pointer;
}
#moreBoys:hover {
  background-position: right center;
  color: #fff;
  text-decoration: none;
}

/* ANIMATE */
.animate {
    justify-self: center;
    font-size: 35px;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-shadow: -2px 7px 5px rgba(50, 150, 250, 0.477);
    font-weight: bold;
}

.animate span {
    display: inline-block;
}

.animate span:nth-of-type(2) {
    animation-delay: .05s;
}
.animate span:nth-of-type(3) {
    animation-delay: .1s;
}
.animate span:nth-of-type(4) {
    animation-delay: .15s;
}
.animate span:nth-of-type(5) {
    animation-delay: .2s;
}
.animate span:nth-of-type(6) {
    animation-delay: .25s;
}
.animate span:nth-of-type(7) {
    animation-delay: .3s;
}
.animate span:nth-of-type(8) {
    animation-delay: .35s;
}
.animate span:nth-of-type(9) {
    animation-delay: .4s;
}
.animate span:nth-of-type(10) {
    animation-delay: .45s;
}
.animate span:nth-of-type(11) {
    animation-delay: .5s;
}
.animate span:nth-of-type(12) {
    animation-delay: .55s;
}
.animate span:nth-of-type(13) {
    animation-delay: .6s;
}
.animate span:nth-of-type(14) {
    animation-delay: .65s;
}
.animate span:nth-of-type(15) {
    animation-delay: .7s;
}
.animate span:nth-of-type(16) {
    animation-delay: .75s;
}
.animate span:nth-of-type(17) {
    animation-delay: .8s;
}
.animate span:nth-of-type(18) {
    animation-delay: .85s;
}
.animate span:nth-of-type(19) {
    animation-delay: .9s;
}
.animate span:nth-of-type(20) {
    animation-delay: .95s;
}

/* Animation Seven */

.seven span {
    color: #3688dd;
    opacity: 0;
    transform: translate(-150px, 0) scale(.3);
    animation: leftRight 1s forwards;
}
.seven span:hover {
    color: #00e6e6;
    text-shadow: -2px 7px 5px rgb(0, 230, 230);
    transition: all 0.3s ease;
    cursor: pointer;
}

@keyframes leftRight {
    40% {
    transform: translate(50px, 0) scale(.7);
    opacity: 1;
    color: #743dc0;
}
    60% {
    color: #743dc0;
}
    80% {
    transform: translate(0) scale(2);
    opacity: 0;
}
    100% {
    transform: translate(0) scale(1);
    opacity: 1;
}

/* BOTÓN MAS MODELOS */
#mas-modelos {
  margin-top: 2rem;
  background-color: #ff0066;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
#mas-modelos:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 0, 102, 0.6);
}

/* RESPONSIVE */
@media screen and (max-width: 600px) {
  .gif-item img {
    width: 100px;
    height: 100px;
  }
  .inicio-btn, #mas-modelos {
    width: 90%;
  }
}