
    .virtual-cards-section {
        background: linear-gradient(135deg, #ffffff 0%, #fff5f2 100%);
    }

    .section-title {
        font-size: 2.5rem;
        font-weight: 700;
        color: #2d3436;
        margin-bottom: 1rem;
        position: relative;
        display: inline-block;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 3px;
        background: linear-gradient(to right, #f27457, #ff9d80);
        border-radius: 2px;
    }

    .section-subtitle {
        font-size: 1.1rem;
        color: #636e72;
        max-width: 600px;
        margin: 1.5rem auto 0;
    }

    .card-container {
        transition: transform 0.3s ease;
    }

    .card-container:hover {
        transform: translateY(-10px);
    }

    .card-details {
        background: white;
        padding: 1.5rem;
        border-radius: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .btn-primary {
        background-color: #03a6;
        border-color: #03a6;
    }

    .btn-primary:hover {
        background-color: #025a;
        border-color: #025a;
    }

    .btn-warning {
        background-color: #f27457;
        border-color: #f27457;
    }

    .btn-warning:hover {
        background-color: #e05437;
        border-color: #e05437;
    }

    .text-success {
        color: #f27457 !important;
    }

    @media (max-width: 768px) {
        .section-title {
            font-size: 2rem;
        }
    }


    .virtual-card {
        width: 100%;
        max-width: 340px;
        height: 200px;
        padding: 25px;
        border-radius: 15px;
        position: relative;
        color: white;
        font-family: 'Inter', sans-serif;
        transition: all 0.3s ease;
        overflow: hidden;
        margin: 0 auto; /* Center the card */
    }



.virtual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.classic-card {
    background: linear-gradient(135deg, #03a6 0%, #025a 100%);
    box-shadow: 0 10px 20px rgba(0, 51, 170, 0.2);
}

.gold-card {
    background: linear-gradient(135deg, #f27457 0%, #FFD700 100%);
    box-shadow: 0 10px 20px rgba(242, 116, 87, 0.2);
}

.virtual-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}

.bank-logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.bank-logo .trust {
    color: white;
}

.bank-logo .go {
    color: #FFD700;
}

.gold-card .bank-logo .go {
    color: #03a6;
}

.card-number {
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 0px;
    font-family: 'Courier New', monospace;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-info {
    display: flex;
    gap: 20px;
}

.expiry, .holder {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.label {
    font-size: 10px;
    opacity: 0.8;
    letter-spacing: 1px;
}

.value {
    font-size: 14px;
    letter-spacing: 1px;
}

.card-type {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-weight: 600;
    font-size: large;
    letter-spacing: 1px;
}

.virtual-badge {
    font-size: 10px;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/* Animation de la puce */
.card-chip svg {
    transition: transform 0.3s ease;
}

.virtual-card:hover .card-chip svg {
    transform: rotate(5deg);
}

/* Effet de brillance */
.virtual-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.virtual-card:hover::after {
    opacity: 1;
}

@media screen and (max-width: 786px) {
    .virtual-card {
        aspect-ratio: 16 / 10; /* ou 1.6 / 1 */
        width: 100%;
        max-width: 340px;
        height: auto;
    }
    .card-number {
        font-size: 16px !important;
        letter-spacing: 2px;
        margin-bottom: 0px;
        font-family: 'Courier New', monospace;
    }
    .card-type span{
        font-size: 10px;
    }
    .label {
        font-size: 8px;
        opacity: 0.8;
        letter-spacing: 1px;
    }

    .value {
        font-size: 10px;
        letter-spacing: 1px;
    }
    .virtual-badge {
        font-size: 8px;
        padding: 2px 8px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 10px;
    }
}
