* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-family: "Poppins", sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ff4b4b 0%, #dc143c 100%);
    padding: 1rem;
}

.container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
}

.card {
    position: relative;
}

.card-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 1.5rem 1.5rem;
    border-radius: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.card-logo {
    width: 10rem;
    height: 10rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(255, 75, 75, 0.3);
    background: linear-gradient(135deg, #ff4b4b 0%, #dc143c 100%);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(255, 75, 75, 0.4);
}

.logo-img {
    padding: 0.5rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #ffffff;
}

.card-name {
    font-size: 1.4rem;
    font-weight: 600;
    background: transparent;
    color: #2d3748;
    letter-spacing: 0.5px;
}

.card-brand {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff4b4b 0%, #dc143c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.card-qr {
    width: 250px;
    height: 250px;
    margin-top: 0.5rem;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.card-qr:hover {
    transform: scale(1.02);
}

.qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

.card-btn {
    margin-top: 2rem;
    width: 250px;
    height: 3.5rem;
    border: none;
    border-radius: 2rem;
    background: linear-gradient(135deg, #ff4b4b 0%, #dc143c 100%);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 24px rgba(255, 75, 75, 0.4);
    letter-spacing: 0.5px;
}

.card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 75, 75, 0.5);
}

.card-btn:active {
    transform: translateY(0);
}

/* Efecto Ripple */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Decoración adicional */
.decoration {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 75, 75, 0.1) 0%, rgba(220, 20, 60, 0.1) 100%);
    z-index: -1;
}

.decoration-1 {
    top: -50px;
    right: -50px;
}

.decoration-2 {
    bottom: -50px;
    left: -50px;
}

/* Responsive */
@media (max-width: 480px) {
    .card-container {
        padding: 2rem 1.5rem;
    }

    .card-name {
        font-size: 1.2rem;
    }

    .card-brand {
        font-size: 1.75rem;
    }

    .card-qr {
        width: 220px;
        height: 220px;
    }

    .card-btn {
        width: 220px;
    }
}