/* Fondo y animación */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: purple;
  margin: 0;
  padding: 0;
  background-image: url('pictures/trading.jpg');
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}
.logo {
  width: 80%;
  height: auto;
  text-align: center;
}

.picto {
  border-radius: 20px;
  background-image: radial-gradient(#fff8dc, #ffb700);
  width: 15%;
  height: auto;
}
.banner{
  background: linear-gradient(to bottom, #000000,#4120b6);
  padding-top: 10px;
  padding-bottom: 10px;
}
.img-banner{
  width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.img-dolar{
  width: 5%;
  height: auto;
}

section {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

header {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.golden-text {
  margin-bottom: 0.3em;
  font-weight: bold;
  font-size: 1.5rem;
  background: linear-gradient(
    to bottom,
    #fff8dc 0%,     /* brillo superior */
    #ffd700 30%,
    #ffc700 50%,
    #ffb700 70%,
    #b8860b 100%     /* sombra dorada al fondo */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2); /* opcional: más volumen */
}

h2 {
  font-size: 1.8em;
  color: #fff;
  text-align: center;
}

.bloque {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  padding: 20px;
  margin: 20px 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}
.card {
    color: white;
    /*background-color: #4120b6;*/
    background-color: rgba(65, 32, 182, 0.5); /* Usar alfa en vez de opacity */
    border-style: solid;
    border-width: 1px;
    border-color: #ffd700;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
}

.card:hover{
  box-shadow: 0 4px 8px 0 rgba(255, 148, 0, 0.5), 0 6px 20px 0 rgba(255, 255, 255, 0.5);

}
.rojo {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
   text-shadow: 1px 1px 2px red, 0 0 5px black, 0 0 10px white;
  
}
.dorado {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 1px 1px 2px #ffd700, 0 0 5px black, 0 0 5px white;
  
}

.verde {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 1px 1px 2px #58d200, 0 0 5px black, 0 0 5px white;
  
}

.cta {
  text-align: center;
  margin-top: 20px;
}

button {
  background-color: #823dff;
  color: white;
  font-size: 1.2em;
  font-weight: bold;
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-transition:-webkit-transform 0.1s ease-in;
  -o-transition:-o-transform 0.1s ease-in;
}

.cta button:hover {
  box-shadow: 0 4px 8px 0 rgba(255, 148, 0, 0.5), 0 6px 20px 0 rgba(255, 255, 255, 0.5);
  -moz-transform:scale(1.3);
  -webkit-transform:scale(1.3);
  -o-transform:scale(1.3);
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
  max-width: 400px;
  margin-inline: auto;
}

form input {
  padding: 10px;
  font-size: 1em;
  border: none;
  border-radius: 8px;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align:center;
    color: white;
  }

h2 {
  font-size: clamp(1.4rem, 3vw, 1.5rem);
  text-align: center;
}

.arrow {
  width: 40px; /* Ajusta el tamaño de las flechas según tu imagen */
  height: 40px; /* Ajusta el tamaño de las flechas según tu imagen */
  animation: moveArrow 1.5s infinite ease-in-out;
}

.arrow-up {
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.flechas{
  display: -webkit-box;      /* Compatibilidad Safari viejo */
  display: -ms-flexbox;      /* IE 10 */
  display: flex;

  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;

  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;

  -ms-flex-wrap: wrap;
  flex-wrap: wrap;

  gap: 30px;
  padding-left: 20px;
  padding-bottom: 30px;
}

.flechas img{
  width: 40px;
  height: auto;
  display: block;
}

@keyframes moveArrow {
  0% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(20px);
  }
  100% {
    transform: translateX(-50%) translateY(0);
  }
}


