

.banneramd {
  padding: 60px 0; 
  background: 
    linear-gradient(135deg, rgba(255, 107, 53, 0.30), rgba(189, 45, 218, 0.664)), /*95*/ /* Gradiente AMD con transparencia */
    url('/icons/images/banneramd.webp') center/cover; 
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  overflow: visible; 
  position: relative;
  border-radius: 20px;
  margin-left: 4rem;
  margin-right: 4rem;
  margin-bottom: 3%;
}

.banneramd-inner {
  display: flex;
  align-items: center;
  max-width: 1054px; /* 10000 */
  width: 100%;
}

.banneramd img {
  height: 300px; 
  width: auto;
  margin-right: 30px;
  margin-top: -100px; 
  margin-bottom: -80px; 
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
  transition: transform 0.3s ease;
}

.banneramd img:hover {
  transform: scale(1.03) rotate(-4deg);
}

/* Texto */
.banneramd-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  margin-top: -20px;
}

.banneramd-title {
  font-size: 2.5em;
  font-weight: bold;
  margin: 0 0 15px 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.banneramd-features {
  margin-top: -10px;
  display: flex;
  gap: 15px;
  font-size: 0.9em;
  flex-wrap: wrap;
}

.feature {
  background: #ffffff33;
  padding: 5px 12px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid #ffffff4d;
  transition: all 0.3s ease;
}

.feature:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.featureplus {
  position: relative;
  background: #2ecc706b;
  padding: 5px 12px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.featureplus::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  padding: 2px; /* grosor del borde */
  background: linear-gradient(270deg, #2ecc706b, #ffffff4d);
  background-size: 600% 600%;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderFlow 4s linear infinite;
}

@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.featureplus:hover {
  border: none;
}


/* Responsive */
@media (max-width: 1000px) {
  .banneramd {
    border-radius: 15px;
    background: none; 
    margin-top: -80px;
  }
  
  .banneramd-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .banneramd img {
    height: 200px;
    margin: 0;
    display: none;
    order: 1;
  }
  
  .banneramd-content {
    order: 2;
    margin-top: 0;
  }
  
  .banneramd-title {
    font-size: 2em;
    margin-bottom: 0rem;
    order: 2;
    font-weight: bolder;
  }
  
  .banneramd-features {
    flex-direction: row;
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
    order: 3;
  }
  
  .feature, .featureplus {
    font-size: 0.85em;
    padding: 4px 10px;
    display: none;
  }
}


.amd-logo {
  fill: #ffffff;
  margin-right: 5px;
}
