/* ===== RESET Y CONFIGURACIÓN BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Ubuntu', sans-serif;
  line-height: 1.6;
  color: white;
  background-color: black;
  min-height: 100vh;
}

/* ===== HEADER Y NAVBAR ===== */
.header {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid #3498db;
  padding: 0;
  height: 80px;
  display: flex;
  align-items: center;
}

.logo-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
}

.logo {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.logo:hover {
  transform: scale(1.1);
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 0;
  height: 100%;
}

.nav ul li {
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav ul li a {
  color: white;
  text-decoration: none;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  min-width: 120px;
  border-bottom: 3px solid transparent;
}

.nav ul li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2980b9);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav ul li a:hover::before,
.nav ul li a[aria-current="page"]::before {
  transform: scaleX(1);
}

.nav ul li a:hover {
  background-color: rgba(52, 152, 219, 0.1);
  color: #3498db;
}

.nav ul li a[aria-current="page"] {
  background-color: rgba(52, 152, 219, 0.15);
  color: #3498db;
  font-weight: 600;
}

/* Botón especial para fecha/hora */
.nav ul li:last-child {
  margin-left: auto;
}

.nav ul li:last-child a {
  background: linear-gradient(135deg, #3498db, #2980b9);
  border-radius: 25px;
  min-width: auto;
  padding: 0.75rem 1.5rem;
  margin-left: 1rem;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: normal;
  border: none;
  box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
  height: 100%;
  display: flex;
  align-items: center;
}

.nav ul li:last-child a:hover {
  background: linear-gradient(135deg, #2980b9, #1f5f8b);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.nav ul li:last-child a::before {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  padding: 0.5rem;
  border-radius: 5px;
  transition: all 0.3s ease;
  background: none;
  border: none;
  z-index: 1001;
}

.menu-icon:hover {
  background-color: rgba(52, 152, 219, 0.2);
  color: #3498db;
}

/* ===== MAIN CONTENT ===== */
.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  min-height: calc(100vh - 200px);
  margin-top: 1rem;
}

.main__articuloInd {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.main__titulo1 {
  color: #3498db;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.main__titulo2 {
  color: #2980b9;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.main__titulo3 {
  color: #1f5f8b;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.main__imagenArticulo {
  width: 45%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.main__imagenArticulo:hover {
  transform: scale(1.05);
}

.main__imagenArticuloCripto {
  width: 45%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.main__imagenArticuloCripto:hover {
  transform: scale(1.05);
}

.main__tituloCentrado {
  text-align: center;
  margin-bottom: 2rem;
}

.main__articulo-1 {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.main__listaCriptos {
  color: white;
  list-style-type: disc;
  font-size: 1.2rem;
  margin: 1rem 0;
  padding-left: 2rem;
}

.main__listaCriptos li {
  margin-bottom: 0.5rem;
}

/* ===== TEXTO Y PÁRRAFOS ===== */
p {
  font-family: "Unna", serif;
  font-size: 1.2rem;
  line-height: 1.8;
  color: white;
  margin-bottom: 1.5rem;
}

.textoHome {
  margin-bottom: 1rem;
}

.textoQueEsMinar,
.textoRentabilidad {
  display: none;
  background: rgba(52, 152, 219, 0.1);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

/* ===== BOTONES ===== */
.btnVerMas {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 1rem 0;
  font-family: 'Ubuntu', sans-serif;
}

.btnVerMas:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.botonHora {
  background-color: #5a5a5a;
  color: whitesmoke;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.botonHora:hover {
  background-color: #68bbe3;
}

/* ===== LISTAS ===== */
.main__listaDesordenada2 {
  color: #5dade2;
  list-style-type: square;
  font-size: 1.2rem;
  margin: 1rem 0;
  padding-left: 2rem;
}

.main__listaDesordenada2 a {
  color: #5dade2;
  text-decoration: none;
  transition: color 0.3s ease;
}

.main__listaDesordenada2 a:hover {
  color: #3498db;
}

ol {
  color: white;
  font-size: 1.2rem;
  margin: 1rem 0;
  padding-left: 2rem;
}

ol li {
  margin-bottom: 1rem;
}

/* ===== TABLAS ===== */
.table {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  margin: 2rem 0;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.1);
}

.table-dark {
  color: white;
}

.table th,
.table td {
  padding: 1rem;
  border: none;
  text-align: center;
}

#tituloTabla {
  color: #3498db;
  font-size: 2.5rem;
  text-align: center;
  margin: 2rem 0;
  font-weight: bold;
}

/* ===== FORMULARIOS ===== */
.flexMainContact {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(100vh - 200px);
}

.form-group {
  position: relative;
  margin-bottom: 1rem;
}

.form-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.flexMainContact__formularioFlex {
  display: flex;
  flex-direction: column;
  text-transform: capitalize;
  margin-right: 50px;
  margin-top: 10px;
  margin-bottom: 0px;
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex: 1;
}

.flexMainContact__Flex {
  display: flex;
  width: 100%;
}

.flexMainContact__tituloFormulario {
  color: #2980b9;
  font-family: "Ubuntu", sans-serif;
  padding: 10px;
  display: flex;
  align-items: center;
  flex-basis: 50%;
  font-size: 1.5rem;
  line-height: 1.4;
}

.formulario2 {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  transition: all 0.3s ease;
  font-family: 'Ubuntu', sans-serif;
  font-size: 1rem;
  width: 100%;
  display: block;
}

.formulario2:focus {
  outline: none;
  border-color: #68bbe3;
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2px rgba(104, 187, 227, 0.3);
}

.formulario2.error {
  border-color: #ff6b6b;
  background-color: rgba(255, 107, 107, 0.1);
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.3);
}

.formulario2.success {
  border-color: #51cf66;
  background-color: rgba(81, 207, 102, 0.1);
  box-shadow: 0 0 0 2px rgba(81, 207, 102, 0.3);
}

.form-select {
  color: whitesmoke;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.form-select:focus {
  outline: none;
  border-color: #68bbe3;
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2px rgba(104, 187, 227, 0.3);
}

/* ===== MENSAJES DE ERROR ===== */
.error-message {
  color: #ff6b6b;
  font-size: 0.875rem;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
  background-color: rgba(255, 107, 107, 0.1);
  border-radius: 5px;
  border-left: 3px solid #ff6b6b;
  display: none;
}

.error-message.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

.success-message {
  color: #51cf66;
  font-size: 0.875rem;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
  background-color: rgba(81, 207, 102, 0.1);
  border-radius: 5px;
  border-left: 3px solid #51cf66;
  display: none;
}

.success-message.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== BOTONES DE FORMULARIO ===== */
.btn-submit {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 1rem 0;
  font-family: 'Ubuntu', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-submit:disabled {
  background: #666;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-reset {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 1rem 0.5rem 1rem 0;
  font-family: 'Ubuntu', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-reset:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* ===== IMÁGENES Y VIDEOS ===== */
.imagenArticulo {
  width: 50%;
  padding: 20px;
  height: auto;
  border-radius: 10px;
}

.imagenWallet {
  width: 30%;
  height: auto;
  border-radius: 10px;
}

.videoYoutube {
  display: flex;
  justify-content: center;
  height: 500px;
  margin: 2rem 0;
}

.videoYoutube iframe {
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 3px solid #3498db;
  text-align: center;
}

.footer__titulo {
  font-family: "Times New Roman", Times, serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: white;
}

.footer__items {
  width: 50px;
  height: 50px;
  margin: 0 0.5rem;
  transition: transform 0.3s ease;
}

.footer__items:hover {
  transform: scale(1.2);
}

/* ===== CRYPTO STYLES ===== */
.cripto {
  border: 2px solid #000;
  padding: 10px;
  border-radius: 20px;
  background-color: #5a5a5a;
  margin: 1rem 0;
}

.criptoPrecio {
  color: white;
}

.criptoTitulos {
  text-transform: uppercase;
  text-align: start;
  font-weight: 350;
  color: white;
}

.cripto-detalles {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0px 15px;
}

.criptosLista {
  padding: 20px 0px;
}

.carritoHeader {
  border-bottom: 1px solid #ccc;
  color: white;
}

.carritoCantidad {
  max-width: 45px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #eee;
  padding: 5px;
}

.carritoTotal {
  min-height: 96px;
  margin-top: 70px;
}

.botonCriptos {
  background-color: red;
  border: black;
}

.comprarButton {
  background-color: cornflowerblue;
  align-self: center;
}

.col-4 {
  width: 10%;
}

.carritoTituloCriptos {
  color: white;
}

.carritoCriptosAdd {
  height: 30px;
}

.buttonDelete {
  height: 30px;
  margin-left: 10px;
}

.shoppingCartcripto {
  height: 95px;
}

.mb-0 {
  align-self: center;
}

/* ===== UTILITIES ===== */
hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, #68bbe3, transparent);
  margin: 2rem 0;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Forzar consistencia del contenedor dentro del header (ignora breakpoints de Bootstrap) */
.header .container {
  max-width: 1200px !important;
  width: 100% !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  height: 100% !important;
}

/* Altura uniforme y texto centrado verticalmente */
.header { height: 80px; }
.logo-nav-container { height: 100% !important; }
.nav { height: 100% !important; }
.nav ul { height: 100% !important; }
.nav ul li { height: 100% !important; }
.nav ul li a { height: 100% !important; line-height: 80px; }

@media (max-width: 768px) {
  .nav ul li a { line-height: 70px; }
}

@media (max-width: 480px) {
  .nav ul li a { line-height: 60px; }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .main__articuloInd,
  .main__articulo-1 {
    flex-direction: column;
    text-align: center;
  }
  
  .main__imagenArticulo,
  .main__imagenArticuloCripto {
    width: 80%;
    order: -1;
  }
  
  .main__titulo1,
  .main__titulo2,
  .main__titulo3 {
    font-size: 2rem;
  }
  
  p {
    font-size: 1.1rem;
  }
  
  .flexMainContact {
    flex-direction: column;
    padding: 1.5rem;
  }
  
  .flexMainContact__formularioFlex {
    margin-right: 0;
  }
  
  .flexMainContact__tituloFormulario {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .header {
    height: 70px;
  }
  
  .logo-nav-container {
    padding: 0 1rem;
  }
  
  .logo {
    width: 40px;
    height: 40px;
  }
  
  .menu-icon {
    display: block;
  }
  
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(52, 152, 219, 0.3);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    height: auto;
  }
  
  .nav.mostrar {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav ul {
    flex-direction: column;
    padding: 0;
    gap: 0;
    height: auto;
  }
  
  .nav ul li {
    width: 100%;
    height: auto;
  }
  
  .nav ul li a {
    display: block;
    padding: 1rem 2rem;
    border-radius: 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-width: auto;
    height: auto;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: normal;
  }
  
  .nav ul li a:hover {
    background-color: rgba(52, 152, 219, 0.2);
    transform: none;
  }
  
  .nav ul li:last-child {
    margin-left: 0;
  }
  
  .nav ul li:last-child a {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 0;
    margin-left: 0;
    box-shadow: none;
  }
  
  .nav ul li:last-child a:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
    transform: none;
    box-shadow: none;
  }
  
  .main {
    padding: 1rem;
  }
  
  .main__articuloInd,
  .main__articulo-1 {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .main__imagenArticulo,
  .main__imagenArticuloCripto {
    width: 100%;
  }
  
  .main__titulo1,
  .main__titulo2,
  .main__titulo3 {
    font-size: 1.8rem;
  }
  
  p {
    font-size: 1rem;
  }
  
  .footer {
    padding: 1.5rem 0;
  }
  
  .footer__titulo {
    font-size: 1rem;
  }
  
  .footer__items {
    width: 40px;
    height: 40px;
  }
  
  .videoYoutube {
    height: 300px;
  }
  
  .imagenArticulo,
  .imagenWallet {
    width: 100%;
  }
  
  /* ===== FORMULARIO RESPONSIVE ===== */
  .flexMainContact {
    padding: 1rem;
    gap: 1rem;
  }
  
  .flexMainContact__formularioFlex {
    padding: 1.5rem;
  }
  
  .flexMainContact__tituloFormulario {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .formulario2 {
    padding: 0.875rem;
    font-size: 1rem;
  }
  
  .btn-submit,
  .btn-reset {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    margin: 0.5rem 0;
  }
  
  .btn-reset {
    margin-left: 0;
  }
  
  .form-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .header {
    height: 60px;
  }
  
  .logo-nav-container {
    padding: 0 0.75rem;
  }
  
  .logo {
    width: 35px;
    height: 35px;
  }
  
  .main {
    padding: 0.75rem;
  }
  
  .main__articuloInd,
  .main__articulo-1 {
    padding: 1rem;
  }
  
  .main__titulo1,
  .main__titulo2,
  .main__titulo3 {
    font-size: 1.5rem;
  }
  
  p {
    font-size: 0.95rem;
  }
  
  .nav ul li a {
    padding: 0.75rem 1rem;
  }
  
  .videoYoutube {
    height: 250px;
  }
  
  /* ===== FORMULARIO RESPONSIVE PEQUEÑO ===== */
  .flexMainContact {
    padding: 0.75rem;
    gap: 0.75rem;
  }
  
  .flexMainContact__formularioFlex {
    padding: 1rem;
  }
  
  .flexMainContact__tituloFormulario {
    font-size: 1.1rem;
    padding: 0.5rem;
  }
  
  .formulario2 {
    padding: 0.75rem;
    font-size: 0.95rem;
  }
  
  .btn-submit,
  .btn-reset {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
  
  .error-message,
  .success-message {
    font-size: 0.8rem;
    padding: 0.4rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main__articuloInd,
.main__articulo-1 {
  animation: fadeInUp 0.6s ease-out;
}

