
/* DISEﾃ前 JENNIFER: ROSA Y AZUL */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 30px;
    font-family: Arial, sans-serif;
    text-align: center;
    color: #344054;
    background: linear-gradient(135deg, #fff0f6, #e0f2fe, #fce7f3);
    min-height: 100vh;
}

h1 {
    color: #db2777;
    font-size: 36px;
    margin-bottom: 25px;
    animation: aparecer 0.8s ease;
}

h2 {
    color: #0284c7;
}

h3 {
    color: #db2777;
}

header, section {
    max-width: 1100px;
    margin: 25px auto;
    padding: 25px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(100, 116, 139, 0.15);
    animation: aparecer 0.8s ease;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

nav a {
    padding: 12px 20px;
    background: #e0f2fe;
    color: #0369a1;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    background: #ec4899;
    color: white;
    transform: translateY(-3px);
}

p {
    line-height: 1.8;
}

img {
    display: block;
    width: 90%;
    max-width: 800px;
    height: auto;
    margin: 25px auto;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.2);
    animation: aparecer 1s ease;
    transition: transform 0.3s;
}

img:hover {
    transform: scale(1.03);
}

.boton, button {
    display: inline-block;
    padding: 13px 25px;
    margin: 15px 0;
    border: none;
    border-radius: 30px;
    background: linear-gradient(90deg, #ec4899, #38bdf8);
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.boton:hover, button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

th {
    padding: 14px;
    color: white;
    background: linear-gradient(90deg, #ec4899, #38bdf8);
}

td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
}

tr:nth-child(even) {
    background: #f0f9ff;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin: 6px 0 15px;
    border: 2px solid #bae6fd;
    border-radius: 10px;
    font: inherit;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #ec4899;
    box-shadow: 0 0 0 3px #fce7f3;
}

footer {
    padding: 20px;
    color: #64748b;
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    body {
        padding: 12px;
    }

    header, section {
        padding: 18px;
    }

    h1 {
        font-size: 28px;
    }

    img {
        width: 100%;
    }
}

/* BOTÓN DE CORAZÓN ANIMADO */

.boton {
    position: relative;
    display: inline-flex;
    width: 260px;
    height: 220px;
    align-items: center;
    justify-content: center;
    padding: 30px 35px 10px;
    margin: 20px auto;
    clip-path: polygon(
        50% 92%,
        8% 53%,
        2% 42%,
        2% 31%,
        7% 20%,
        17% 13%,
        29% 13%,
        40% 19%,
        50% 32%,
        60% 19%,
        71% 13%,
        83% 13%,
        93% 20%,
        98% 31%,
        98% 42%,
        92% 53%
    );
    background: linear-gradient(
        135deg,
        #ff69b4,
        #f9a8d4,
        #60c5ff,
        #818cf8
    );
    background-size: 200% 200%;
    color: white;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.4;
    filter: drop-shadow(0 8px 10px rgba(236, 72, 153, 0.3));
    animation: latido 2s ease-in-out infinite,
               colores 6s ease infinite;
    transition: transform 0.35s ease,
                filter 0.35s ease;
}

/* LATIDO DEL CORAZÓN */

@keyframes latido {
    0%, 100% {
        transform: scale(1);
    }
    15% {
        transform: scale(1.05);
    }
    30% {
        transform: scale(1);
    }
    45% {
        transform: scale(1.08);
    }
    60% {
        transform: scale(1);
    }
}

/* DEGRADADO DINÁMICO */

@keyframes colores {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* AL PASAR EL CURSOR */

.boton:hover {
    animation: ninguno 0.3s forwards;
    transform: scale(1.12) rotate(-3deg);
    filter: drop-shadow(0 12px 15px rgba(236, 72, 153, 0.55));
}

@keyframes ninguno {
    to {
        background-position: 100% 50%;
    }
}

/* AL HACER CLIC */

.boton:active {
    transform: scale(0.92);
}

/* ACCESIBILIDAD */

.boton:focus-visible {
    outline: 3px solid #0284c7;
    outline-offset: 5px;
    clip-path: none;
    border-radius: 20px;
}

@media (max-width: 600px) {
    .boton {
        width: 230px;
        height: 200px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .boton {
        animation: none;
        transition: none;
    }
}

/* PERSONALIDAD JENNIFER - DISEÑO NUEVO */

.jennifer-personalidad {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 35px;
    box-sizing: border-box;
    border-radius: 28px;
    background: linear-gradient(135deg, #fff0f7, #eff8ff);
    box-shadow: 0 15px 40px rgba(120, 100, 160, 0.15);
}

.jennifer-personalidad .jp-encabezado {
    text-align: center;
    margin-bottom: 30px;
}

.jennifer-personalidad .jp-etiqueta {
    display: inline-block;
    padding: 8px 18px;
    background: #fce7f3;
    color: #be185d;
    border-radius: 30px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.jennifer-personalidad .jp-encabezado h2 {
    color: #db2777;
    font-size: 32px;
    margin: 15px 0;
}

.jennifer-personalidad .jp-encabezado p {
    color: #64748b;
    line-height: 1.7;
}

/* DOS COLUMNAS */

.jennifer-personalidad .jp-columnas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

/* PANELES */

.jennifer-personalidad .jp-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    border-radius: 22px;
    box-sizing: border-box;
    min-width: 0;
}

.jennifer-personalidad .jp-virtudes {
    background: linear-gradient(145deg, #fce7f3, #fff7fb);
    border: 2px solid #f9a8d4;
}

.jennifer-personalidad .jp-defectos {
    background: linear-gradient(145deg, #e0f2fe, #f4faff);
    border: 2px solid #93c5fd;
}

.jennifer-personalidad .jp-panel h3 {
    text-align: center;
    font-size: 23px;
    margin: 5px 0 15px;
}

.jennifer-personalidad .jp-virtudes h3 {
    color: #be185d;
}

.jennifer-personalidad .jp-defectos h3 {
    color: #0369a1;
}

/* TARJETAS */

.jennifer-personalidad .jp-tarjeta {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 65px;
    padding: 12px 18px;
    box-sizing: border-box;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #334155;
    font-size: 17px;
    font-weight: bold;
    box-shadow: 0 5px 14px rgba(100, 116, 139, 0.10);
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
    animation: jpEntrada 0.6s ease both;
}

.jennifer-personalidad .jp-tarjeta:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 22px rgba(100, 116, 139, 0.20);
}

.jennifer-personalidad .jp-icono {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    border-radius: 13px;
    background: #fff0f7;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.jennifer-personalidad .jp-defectos .jp-icono {
    background: #e0f2fe;
}

.jennifer-personalidad .jp-tarjeta:hover .jp-icono {
    transform: rotate(-10deg) scale(1.15);
}

/* ANIMACIONES */

@keyframes jpEntrada {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MENSAJE FINAL */

.jennifer-personalidad .jp-final {
    text-align: center;
    margin-top: 28px;
    color: #db2777;
    font-size: 15px;
    font-style: italic;
}

/* CELULARES */

@media (max-width: 650px) {
    .jennifer-personalidad {
        padding: 20px 12px;
    }

    .jennifer-personalidad .jp-columnas {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .jennifer-personalidad .jp-panel {
        padding: 16px;
    }

    .jennifer-personalidad .jp-encabezado h2 {
        font-size: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jennifer-personalidad .jp-tarjeta,
    .jennifer-personalidad .jp-icono {
        animation: none;
        transition: none;
    }
}