body {
    background-color: #061E29;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    text-align: center;
}

.logos {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 25px;
    border-bottom: 1px solid rgba(255,255,255,.6);
    padding-bottom: 15px;
}

.logo {
    max-width: 80px;
    margin: auto;
}


.flex-center {
    max-width: 900px;
    margin: auto;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.banner {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
}

.titulo-cr {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(32px, 6vw, 64px);
    color: #fff;
    margin: 20px 0;
    text-shadow: 3px 3px 0 #000;
}

p {
    color: #eee;
    font-size: 18px;
}

.titulo-seccion {
    margin-top: 60px;
    color: #fff;
}

h2 {
    color: #fff;
    margin-top: 40px;
}

/* From Uiverse.io by mi-series */ 
.btn {
  outline: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #40B3A2;
  min-width: 200px;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  box-sizing: border-box;
  padding: 16px 20px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  overflow: hidden;
  cursor: pointer;
}

.btn:hover {
  opacity: .95;
}

.btn .animation {
  border-radius: 100%;
  animation: ripple 0.6s linear infinite;
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1), 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1);
  }

  100% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1), 0 0 0 80px rgba(255, 255, 255, 0);
  }
}

.reglas {
    margin-top: 50px;
    display: grid;
    gap: 40px;
}

.card {
    background: #0b2b3a;
    padding: 25px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s ease;
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.imagen {
    max-width: 200px;
    width: 100%;
    height: auto;
    flex-shrink: 0;
}

.contenido {
    max-width: 500px;
    width: 100%;
}

.titulo-regla {
    color: #fff;
    margin-bottom: 10px;
    margin-top: 0;
}

.descripcion {
    background: white;
    color: black;
    padding: 15px;
    border-radius: 8px;
    text-align: left;
}

.descripcion ul {
    margin: 0;
    padding-left: 20px;
}

.descripcion li {
    margin-bottom: 5px;
}

.descripcion h3 {
    margin: 10px 0 5px 0;
    font-size: 16px;
    font-size: 16px;
    color: white;
}

@media (min-width: 768px) {
    .reglas {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .card {
        max-width: 900px;
        width: 100%;
        min-height: 340px;
        margin: 0 auto;
        padding: 30px;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 50px;
        text-align: left;
        box-sizing: border-box;
    }

    .imagen {
        max-width: 180px;
        min-width: 180px;
        width: 180px;
        height: auto;
        flex-shrink: 0;
    }

    .card:nth-child(even) {
        flex-direction: row-reverse;
    }

    .card:nth-child(odd) {
        flex-direction: row;
    }

    .contenido {
        max-width: 500px;
        flex: 1;
    }

    .titulo-regla {
        font-size: 24px;
    }
}