.card-wrapper {
    perspective: 1200px;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card {
    width: 700px;       /* ocupa el 80% del contenedor */
    max-width: 700px;
    height: 550px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
    cursor: pointer;
}
.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}
.card-front {
    background: linear-gradient(135deg, #96d1f5, #58a3de);
    color: #fff;
}
.card-front .logo {
    width: 120px;
    margin-bottom: 1rem;
}
.card-back {
    background: white;
    box-shadow: none;
    transform: rotateY(180deg);
}
.card.flipped {
    transform: rotateY(180deg);
}

