
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f9fa;
  color: #212529;
}

.header-principal {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.header-texto h1 {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-shadow: 0 0 10px rgba(0,0,0,0.6);
  font-size: 1.8rem;
  z-index: 2;
}

.imagen-header {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 2rem 2rem;
  animation: fadeIn 2s ease;
}

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

.frase-rotativa {
  text-align: center;
  padding: 1rem 1.5rem;
  background-color: #ffffff;
  margin-top: -2rem;
}

.frase-rotativa h2 {
  font-weight: normal;
  font-size: 1.2rem;
  color: #495057;
}

.contenido-principal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
}

.tarjeta, .tarjeta-inteligente {
  background-color: #ffffff;
  width: 90%;
  max-width: 600px;
  border-radius: 1.2rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  cursor: pointer;
  text-align: center;
}

.tarjeta:hover, .tarjeta-inteligente:hover {
  transform: scale(1.02);
}

.tarjeta h3, .tarjeta-inteligente h3 {
  margin-top: 0;
  color: #0077b6;
}

.tarjeta-inteligente.antes { background-color: #0077b6; color: white; }
.tarjeta-inteligente.hoy { background-color: #d00000; color: white; }
.tarjeta-inteligente.despues { background-color: #2a9d8f; color: white; }

.boton-centro {
  margin-top: 1rem;
  background-color: #ffffff;
  color: #000000;
  padding: 1rem;
  border-radius: 0.75rem;
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.logo-fijo {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 999;
}

.logo-fijo img {
  width: 65px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0,0,0,0.25);
}

.tarjeta-inteligente.neutral {
  background-color: #e63946;
  color: white;
}

.header-texto-bottom h1 {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-shadow: 0 0 10px rgba(0,0,0,0.6);
  font-size: 1.6rem;
  z-index: 2;
}

.frase-bienvenida {
  text-align: center;
  padding: 1rem 1.5rem;
  background-color: #ffffff;
  font-size: 1.3rem;
  font-weight: 500;
  color: #333;
}

.frase-impacto {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0.8rem 0;
}

.frase-extra {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1.2rem;
}

.boton-centro-llamativo {
  background-color: white;
  color: #000;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 0.75rem;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

.tarjeta-inteligente {
  border-radius: 2rem;
  padding: 2rem;
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: inset 0 0 12px rgba(255,255,255,0.1), 0 0 24px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.tarjeta-inteligente:hover {
  transform: scale(1.02);
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.25);
}

.tarjeta-inteligente.antes {
  background: radial-gradient(circle at top left, #0d3b66, #0077b6);
  color: white;
  box-shadow: inset 0 0 12px rgba(255,255,255,0.1), 0 0 24px rgba(0,119,182,0.6);
}

.tarjeta-inteligente.hoy {
  background: radial-gradient(circle at top right, #9d0208, #d00000);
  color: white;
  box-shadow: inset 0 0 12px rgba(255,255,255,0.1), 0 0 24px rgba(208,0,0,0.5);
}

.tarjeta-inteligente.despues {
  background: radial-gradient(circle at bottom left, #1b4332, #2a9d8f);
  color: white;
  box-shadow: inset 0 0 12px rgba(255,255,255,0.1), 0 0 24px rgba(42,157,143,0.5);
}

.tarjeta-inteligente.neutral {
  background: radial-gradient(circle at center, #fca311, #e76f51);
  color: white;
  box-shadow: inset 0 0 12px rgba(255,255,255,0.1), 0 0 24px rgba(252,163,17,0.6);
}

.frase-impacto {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0.8rem 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.frase-extra {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1.2rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.boton-centro-llamativo {
  background-color: white;
  color: #000;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 0.75rem;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

.tarjeta-inteligente {
  border-radius: 2rem;
  padding: 2rem;
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.15);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tarjeta-inteligente:hover {
  transform: scale(1.02);
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.25);
}

/* Artístico por fase */
.tarjeta-inteligente.antes {
  background: conic-gradient(from 45deg, #0d3b66, #7fb3d5, #0d3b66);
  color: white;
  box-shadow:
    inset 0 0 24px rgba(255,255,255,0.1),
    0 0 32px rgba(13, 59, 102, 0.6),
    0 0 4px rgba(255,255,255,0.1);
}

.tarjeta-inteligente.hoy {
  background: radial-gradient(circle at top right, #9d0208, #ff595e, #ffca3a);
  color: white;
  box-shadow:
    inset 0 0 24px rgba(255,255,255,0.1),
    0 0 32px rgba(255,89,94,0.5),
    0 0 6px rgba(255,255,255,0.2);
}

.tarjeta-inteligente.despues {
  background: radial-gradient(circle at bottom left, #1b4332, #2a9d8f, #52b788);
  color: white;
  box-shadow:
    inset 0 0 24px rgba(255,255,255,0.1),
    0 0 32px rgba(42,157,143,0.5),
    0 0 4px rgba(255,255,255,0.2);
}

.tarjeta-inteligente.neutral {
  background: conic-gradient(from 90deg, #fca311, #e76f51, #f4a261);
  color: white;
  box-shadow:
    inset 0 0 24px rgba(255,255,255,0.1),
    0 0 32px rgba(252,163,17,0.6),
    0 0 4px rgba(255,255,255,0.2);
}

.frase-impacto {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0.8rem 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.frase-extra {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1.2rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.boton-centro-llamativo {
  background-color: white;
  color: #000;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 0.75rem;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

/* Botón de Clara como emblema */
.icono-clara-emblema {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  position: absolute;
  top: -20px;
  right: -20px;
  border: 2px solid white;
  box-shadow: 0 0 10px rgba(255,255,255,0.3);
  background-color: #f0f8ff;
  animation: halo 5s infinite ease-in-out;
}

@keyframes halo {
  0%, 100% { box-shadow: 0 0 10px rgba(255,255,255,0.3); }
  50% { box-shadow: 0 0 20px rgba(255,255,255,0.6); }
}
