@font-face {
    font-family: 'Futura Condensed';
    src: url('../fonts/FuturaLT-Condensed_1.ttf') format('truetype');
}
/* Botón para ver PDF */
.btn-pdf {
    display: inline-block;
    background: linear-gradient(90deg, #4a90e2, #50e3c2); /* degradado moderno */
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


.resultados-anticipados {
    text-align: center;
    color: #fff;
    font-size: 20px;
    margin-top: 40px;
    font-weight: bold;
    background-color: #ca1515;
    margin: 0 100px;
}


.filtros {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
  
}

.filtros input {
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  width: 220px;
  transition: border-color 0.2s ease;
}

.filtros input:focus {
  outline: none;
  border-color: #004aad;
  box-shadow: 0 0 3px rgba(0, 74, 173, 0.5);
}

.filtros button {
  padding: 10px 18px;
  background-color: #1230d6;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.filtros button:hover {
  background-color: #a11212;
  transform: scale(1.05);
}

#resultados {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.btn-pdf:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    background: linear-gradient(90deg, #50e3c2, #4a90e2); /* invertir degradado al pasar el mouse */
}

.btn-pdf:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@font-face {
    font-family: 'Futura Bold';
    src: url('../fonts/FuturaLT-Bold.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: 'Futura Condensed Bold';
    src: url('../fonts/FuturaLT-CondensedBold.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: 'Futura Extra Bold';
    src: url('../fonts/FuturaLT-ExtraBold.ttf') format('truetype');
    font-weight: 800;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('../fonts/MyriadPro-Regular.otf') format('opentype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Myriad Pro', sans-serif;
    background-color: #ffffff;
    color: #000;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Futura Condensed Bold', sans-serif;
}

/* HEADER */
.header img {
    width: 100%;
    display: block;
}

/* SECCIÓN OPCIONES */
.opciones {
    text-align: center;
    padding: 40px 20px;
    background: #f7f9fc;
}

.opciones h2 {
    font-size: 36px;
    color: #004aad;
    margin-bottom: 25px;
    font-family: 'Futura Extra Bold', sans-serif;
}

/* CONTENEDOR DE LA IMAGEN */
.imagen-premios {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* IMAGEN DE PREMIOS */
.imagen-premios img {
    width: 110%;
    max-width: 900px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.imagen-premios :hover {
    transform: scale(1.02)
}


.card {
  background-color: #f3f0f0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  width: calc(33.33% - 20px);
  min-width: 280px;
  padding: 20px 25px;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.fecha {
  font-weight: bold;           
  color: #977b00;             
  font-size: 20px;
}



.numero-serie {
  color: #1518ca;
  font-size: 30px;
  font-weight: bold;
  text-align: right;
}


.loteria {
  font-size: 15px;
  color: #333;
  text-align: center;
  font-style: italic;
  border-top: 1px solid #1900ff;
  padding-top: 8px;
}

/* Ajustes para pantallas móviles */
@media (max-width: 768px) {
    .card {
        width: 70%;       /* ocupan casi todo el ancho del móvil */
        padding: 12px;    /* menos padding para que no se vea grande */
        margin: 8px auto; /* centrado y menos espacio entre cards */
        font-size: 14px;  /* reducir tamaño de texto dentro de la card */
    }
    .fecha 
        {
        font-weight: bold;           
        color: #977b00;             
        font-size: 20px;
    }
    .loteria {
        font-size: 10px;
        color: #333;
        text-align: center;
        font-style: italic;
        border-top: 1px solid #1900ff;
        padding-top: 8px;
    }


}


/* BLOQUES DE TEXTO */
.bloque-texto {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
    text-align: center;
}

.bloque-texto h3 {
    color: #004aad;
    font-size: 30px;
    margin-bottom: 10px;
}

.bloque-texto p {
    text-align: justify;
    margin-bottom: 10px;
}

.fecha-sorteo {
    color: #004aad;
    font-size: 30px;
    font-weight: bold;
    font-family: 'Futura Bold', sans-serif;
}

/* PREMIOS ANTICIPADOS */
.premios-anticipados {
    text-align: center;
    padding: 30px 20px;
}

.premios-anticipados img {
    width: 700px;
    max-width: 100%;
}

.premios-desktop {
    width: 700px !important;

}

.premios-mobile {
    display: none;
}

.premios-anticipados h3 {
    font-size: 48px;
    color: #004aad;
    font-family: 'Futura Extra Bold', sans-serif;
}

.premios-anticipados p {
    text-align: justify;
    margin-bottom: 10px;
}

/* CONDICIONES */
.condiciones {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

.condiciones h3 {
    color: #004aad;
    text-align: center;
    margin-bottom: 40px;
    display: block;
    font-size: 30px;
}

.condiciones ol {
    padding-left: 20px;
}

.condiciones li {
    margin-bottom: 8px;
    font-size: 16px;
}

/* FOOTER */
footer {
    background: #002b5c;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .opciones h2 {
        font-size: 28px;
    }

    .imagen-premios img {
        max-width: 150% !important;
        border-radius: -50px;
        height: 250px !important;
    }

    .imagen-premios :hover {
        transform: scale(1.02)
    }


    .bloque-texto h3 {
        font-size: 26px;
    }

    .condiciones h3 {
        font-size: 26px;
    }

    .premios-anticipados h3 {
        font-size: 36px;
    }

    .premios-desktop {
        display: none;

    }

    .premios-mobile {
        display: block;
    }

}

/* TITULOS CON DEGRADADO */
.titulo-degradado {
    position: relative;
    /* para poder poner la imagen detrás */
    display: inline-block;
    /* ajusta el ancho al texto */
    z-index: 1;
    /* que el texto quede arriba */
    padding: 0 10px;
    /* opcional, separa el texto del borde */
}

/* Imagen degradada debajo del texto */
.titulo-degradado::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 98vw;
    bottom: 50%;
    /* ajusta verticalmente según necesidad */
    height: 30px;
    /* altura de la línea */
    background: url('../image/pc/degradado_amarillo@4x.png') no-repeat center/cover;
    z-index: -1;
    /* que quede detrás del texto */
    transform: translateX(-50%) translateY(50%);
    /* centra horizontalmente y ajusta verticalmente */
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .titulo-degradado::before {
        height: 25px;
        /* línea más gruesa en móviles */
    }
}

/* Ajuste para centrar mejor el título de condiciones */
.condiciones .titulo-degradado {
    display: block;
    text-align: center;
    padding: 0;
}

/* Contenedor relativo */
.imagen-premios {
    position: relative;
}

