@font-face {
  font-family: 'Aptos Narrow';
  src: url('../fonts/aptos-narrow.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Aptos Narrow', sans-serif;
}

.flip-card {
  perspective: 1000px;
  width: 100%;
  height: 18rem;
}

.flip-inner {
  transition: transform 0.6s;
  transform-style: preserve-3d;
  position: relative;
  width: 100%;
  height: 100%;
}

.flip-card:hover .flip-inner {
  transform: rotateX(180deg);
}

.flip-front,
.flip-back {
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.flip-front {
  background-image: linear-gradient(to bottom, white, #ffefef);
  color: #1f2937;
}

.flip-back {
  transform: rotateX(180deg);
  background-color: #C00000;
  color: white;
  font-weight: 500;
  text-align: center;
}

/* Colores de la cabecera */
.barra-azul {
  background-color: #2672B0;
}

.barra-verde {
  background-color: #8DB629;
}

.barra-amarilla {
  background-color: #F2AB13;
}

.barra-rosada {
  background-color: #AF227E;
}

.barra-celeste {
  background-color: #5FB6D4;
}

.barra-roja {
  background-color: #D80F1F;
}

.background-container {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url('../img/fondo.png');
  background-size: cover;
  background-position: center;
  /*filter: blur(8px);*/
  opacity: 1;
}

/* ================================ TARJETAS EN CONSTRUCCIÓN (MVCS) ================================ */
.cinta-obra {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 340px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  z-index: 5;
  background: repeating-linear-gradient(45deg, #111 0 14px, #facc15 14px 28px);
  overflow: hidden;
}

/* Difuminado más visible */
.cinta-obra span {
  position: relative;
  z-index: 2;
  padding: 4px 14px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px) brightness(1.2);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

/* Efecto de brillo animado */
.cinta-obra span::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: brillo 4s infinite;
}

@keyframes brillo {
  0% {
    left: -150%;
  }

  60% {
    left: 150%;
  }

  100% {
    left: 150%;
  }
}


/* === Tarjetas en construcción (fondo gris metálico) === */
.en-construccion-card .flip-front {
  background-image: linear-gradient(to bottom, white, #c3c3c3);
  color: #1f2937;
}

/* Reverso con gris más oscuro */
.en-construccion-card .flip-back {
  transform: rotateX(180deg);
  background-color: #c3c3c3;
  color:#1f2937;
  font-weight: 500;
  text-align: center;
}


/* Cursor restringido SOLO al pasar por la card en construcción */
.en-construccion-card:hover,
.en-construccion-card:hover * {
  cursor: not-allowed !important;
}

