* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  color: #e91e63;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.barranav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #111;
  padding: 10px 0;
  z-index: 1000;
  border-bottom: 2px solid #ff80ab;
}

.barranav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.barranav a {
  color: #ff80ab;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

.barranav a:hover {
  text-decoration: underline;
}

main,
.seccionayu {
  margin-top: 60px;
  padding: 0 20px;
}

#pantallabienv {
  position: fixed;
  inset: 0;
  background-color: #000;
  color: #ff4081;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  animation: bgPulse 5s infinite;
  transition: opacity 0.5s ease;
}

.contbienv {
  text-align: center;
  max-width: 600px;
  padding: 20px;
  animation: fadeIn 2s ease;
}

.contbienv h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.contbienv p {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.txtcont {
  opacity: 0.7;
  animation: pulseText 2s infinite;
}

@keyframes bgPulse {
  0%, 100% { background-color: #000; }
  50% { background-color: #111; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulseText {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.cabprinc {
  text-align: center;
  margin: 100px 0 40px;
}

.cabprinc h1 {
  color: #ff4081;
  font-size: 2rem;
  text-shadow: 0 0 8px #ff80ab;
  animation: headerGlow 3s infinite;
}

@keyframes headerGlow {
  0%, 100% { text-shadow: 0 0 8px #ff80ab; }
  50%     { text-shadow: 0 0 20px #ff4081; }
}

.tarjs {
  max-width: 1000px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.tarj {
  background: #111;
  border: 1px solid #ff4081;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(255,64,129,0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.tarj.visible {
  opacity: 1;
  transform: translateY(0);
}

.tarj:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(255,64,129,0.3);
}

.tarj h2 {
  margin-bottom: 10px;
  color: #ff80ab;
}

.tarj p {
  margin-bottom: 12px;
}

.tarj ul {
  list-style: disc inside;
  margin-bottom: 12px;
}

.fuent {
  font-size: 0.85rem;
  color: #ff80ab;
}

.fuent a {
  text-decoration: none;
}

.fuent a:hover {
  text-decoration: underline;
}

.seccionayu {
  background-color: #bbbbbb;
  color: #333;
  border-radius: 10px;
  max-width: 600px;
  margin: 60px auto;
  padding: 30px;
}

.seccionayu h2 {
  margin-bottom: 10px;
}

.seccionayu ul {
  padding-left: 20px;
}

.seccionayu li {
  margin-bottom: 10px;
}

.seccionayu a {
  color: #0077cc;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .barranav ul {
    gap: 20px;
  }
  .barranav a {
    font-size: 1rem;
  }
  .tarjs {
    gap: 10px;
  }
  .tarj {
    padding: 15px;
  }
  .cabprinc {
    margin: 80px 0 30px;
  }
  .contbienv h1 {
    font-size: 2rem;
  }
}