@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Poppins:wght@400;600&family=Bangers&family=Orbitron:wght@500;700&display=swap');


/* =========================
   CONFIGURACIÓN GENERAL
========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;

    background:
        radial-gradient(circle at center, rgba(80, 0, 0, 0.35), transparent 50%),
        linear-gradient(135deg, #090909, #1a1a1a, #050505);

    color: white;
}


/* =========================
   SELECCIÓN DE MASCOTA
========================= */

#seleccionar-mascota {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 40px 20px;
}


/* =========================
   TÍTULO
========================= */

#titulo {
    font-family: 'Cinzel', serif;

    color: #d00000;

    font-size: clamp(55px, 8vw, 100px);

    letter-spacing: 8px;

    text-align: center;

    margin-bottom: 10px;

    text-shadow:
        0 0 10px rgba(255, 0, 0, 0.6),
        0 0 30px rgba(255, 0, 0, 0.3);
}


/* =========================
   SUBTÍTULO
========================= */

.subtitulo {
    font-family: 'Orbitron', sans-serif;

    color: #d6d6d6;

    font-size: clamp(22px, 4vw, 40px);

    text-align: center;

    margin-bottom: 35px;

    letter-spacing: 2px;
}


/* =========================
   TARJETAS
========================= */

.tarjetas {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 25px;

    flex-wrap: wrap;

    max-width: 1000px;
}


/* =========================
   TARJETA INDIVIDUAL
========================= */

.tarjeta-de-mokepon {

    position: relative;

    width: 190px;
    height: 250px;

    padding: 15px;

    display: flex;
    flex-direction: column;

    justify-content: space-between;
    align-items: center;

    background: linear-gradient(
        145deg,
        #141414,
        #252525
    );

    border: 2px solid #444;

    border-radius: 18px;

    color: #ffffff;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


/* Nombre */

.tarjeta-de-mokepon p {

    font-family: 'Bangers', cursive;

    font-size: 28px;

    letter-spacing: 2px;

    color: #e3bf05;

    text-shadow:
        2px 2px 3px black;
}


/* Imagen */

.tarjeta-de-mokepon img {

    width: 145px;
    height: 145px;

    object-fit: contain;

    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}


/* =========================
   EFECTO AL PASAR EL MOUSE
========================= */

.tarjeta-de-mokepon:hover {

    transform: translateY(-8px);

    border-color: #c00000;

    box-shadow:
        0 0 15px rgba(200, 0, 0, 0.5),
        0 0 35px rgba(200, 0, 0, 0.2);
}


.tarjeta-de-mokepon:hover img {

    transform: scale(1.08);

    filter: drop-shadow(
        0 0 12px rgba(255, 0, 0, 0.5)
    );
}


/* =========================
   RADIO OCULTO
========================= */

.tarjeta-de-mokepon input {

    display: none;
}


/* =========================
   MASCOTA SELECCIONADA
========================= */

.tarjeta-de-mokepon:has(input:checked) {

    border-color: #e00000;

    background:
        linear-gradient(
            145deg,
            #3b0000,
            #180000
        );

    box-shadow:
        0 0 15px rgba(255, 0, 0, 0.8),
        0 0 40px rgba(255, 0, 0, 0.4);

    transform: translateY(-8px);
}


.tarjeta-de-mokepon:has(input:checked) img {

    transform: scale(1.12);

    filter:
        drop-shadow(0 0 10px #ff0000)
        drop-shadow(0 0 25px #ff0000);
}


.tarjeta-de-mokepon:has(input:checked) p {

    color: #ff3333;
}


/* =========================
   BOTÓN
========================= */

#boton-mascota {

    margin-top: 40px;

    width: min(500px, 90%);

    height: 65px;

    border: 2px solid #e3bf05;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #6c0202,
            #300000
        );

    color: #e3bf05;

    font-family: 'Orbitron', sans-serif;

    font-size: 18px;

    font-weight: 700;

    letter-spacing: 2px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


#boton-mascota:hover {

    transform: scale(1.03);

    background:
        linear-gradient(
            135deg,
            #900000,
            #450000
        );

    box-shadow:
        0 0 15px rgba(255, 0, 0, 0.6);
}


#boton-mascota:active {

    transform: scale(0.98);
}


/* =========================
   CELULARES
========================= */

@media (max-width: 700px) {

    #seleccionar-mascota {
        padding: 30px 15px;
    }

    .tarjetas {
        gap: 15px;
    }

    .tarjeta-de-mokepon {
        width: 155px;
        height: 215px;
    }

    .tarjeta-de-mokepon img {
        width: 115px;
        height: 115px;
    }

    .tarjeta-de-mokepon p {
        font-size: 23px;
    }

    #boton-mascota {
        width: 90%;
    }
}